Age Calculator

Calculate your age in years, months, and days based on your birth date.

Input Parameters

Calculation Results

Age Calculation

Your age is calculated as follows:

Where:
- Day: Number of days since your birth date
- Month: Number of months since your birth date
- Year: Number of years since your birth date

Age: 0 years, 0 months, 0 days

Age Calculator Calculator Usage Guide

Learn how to use the Age Calculator and understand its working principles

How to Use the Age Calculator

  1. Enter your birth date in the input fields for day, month, and year.
  2. Click the "Calculate" button to compute your age.
  3. Your age will be displayed in years, months, and days.

Working Principle

The Age Calculator calculates your age by comparing your birth date with the current date. It accounts for leap years and adjusts the age in months and days accordingly.

Formula Explanation

The calculation follows these steps:

  1. Years: Current year minus birth year
  2. Months: If current month is greater than or equal to birth month, months are current month minus birth month. Otherwise, subtract 1 from years and add 12 to months.
  3. Days: If current day is greater than or equal to birth day, days are current day minus birth day. Otherwise, subtract 1 from months and add the days in the previous month.

Example

If your birth date is March 15, 1990, and today is June 20, 2023:

  • Years: 2023 - 1990 = 33 years
  • Months: 6 - 3 = 3 months
  • Days: 20 - 15 = 5 days
  • Your age: 33 years, 3 months, 5 days