What does this calculator do?
This calculator answers “what date was N days ago?” or “what date is N days before an event?” — for working backwards from deadlines, computing latest shipping dates or checking when something happened.
Formula
Days are subtracted on the real calendar, rolling back months and years:
result = start date − N days
How to use it
Pick the reference date (defaults to today) and enter how many days to go back. The earlier date is shown instantly in your date format.
Worked example
30 days before 28 July 2026 is 28 June 2026.
Frequently asked questions
What happens across a leap day?
The calendar is followed exactly: 1 March 2024 minus 1 day is 29 February 2024.
Can I subtract more days than have passed this year?
Yes — the calculation rolls back through previous months and years without limit.
How do I find days between two known dates instead?
Use the Days Between Dates calculator linked below.
Sources
- ISO 8601 — international standard for date representation
- U.S. Naval Observatory — leap year rules of the Gregorian calendar
- Reviewed: 2026-07-28
Related calculators
Last updated: 2026-07-28 · v1.0.0 · Report an error