Kalkulator Tanggal

Enter values to calculate.

Add or subtract days, weeks, months, and years from any start date. Free date calculator with leap-year aware calendar math in your browser-no signup needed.

How to Use

  1. Pick the start date-the calendar anchor for your calculation.
  2. Enter days, weeks, months, and/or years to shift. Leave unused fields at zero.
  3. Click Add to date to move forward or Subtract from date to move backward.
  4. Review the resulting calendar date in the result panel.
  5. Reset and try alternate offsets without reloading the page.

Input Field Guide

Start date
The calendar date you are shifting from. Required for both addition and subtraction.
Days
Calendar days to add or subtract. Combined with weeks for total day offset.
Weeks
Whole weeks (7-day blocks) to add or subtract alongside days.
Months
Calendar months with end-of-month clamping (e.g., Jan 31 + 1 month -> Feb 28/29).
Years
Whole years, respecting leap-day rules when the start date is February 29.

Understanding Your Results

The primary result is the new calendar date after applying your offsets in order: years, months, weeks, then days. Month and year adjustments use civil calendar rules, so end-of-month dates clamp to the last valid day of the target month rather than overflowing.

Features

Formula & Calculation Logic

New date = startDate ± years ± months ± (weeks*7 + days). Month/year steps use calendar component arithmetic with clamping when the target month has fewer days.

Real-World Use Cases

Practical Examples

Monthly billing

Start 15 Jan 2026, add 1 month -> 15 Feb 2026 for recurring invoice dates.

End-of-month rule

Start 31 Mar 2026, add 1 month -> 30 Apr 2026 because April has 30 days.

Benefits

Tips & Best Practices

Common Mistakes to Avoid

Frequently Asked Questions

How does the date calculator handle month-end dates?

When the target month has fewer days, the result clamps to the last valid day (e.g., Jan 31 + 1 month -> Feb 28 or 29).

Can I subtract months and years?

Yes. Use Subtract from date with positive values in the month and year fields.

Does it account for leap years?

Yes. February 29 and leap-year transitions follow Gregorian calendar rules.

Can I add only weeks without days?

Yes. Set days to zero and enter the week count; weeks convert to 7-day blocks.

What order are offsets applied?

Years and months adjust calendar components first, then weeks and days add absolute day offsets.

Is the start date included in the result?

The result is the new date after the shift, not a count of days between dates.

Can I calculate business days here?

No. Use the working days or business days calculator to exclude weekends and holidays.

Are my dates sent to a server?

No. All date math runs locally in your browser.

Related Date & Time Calculators