ISO 8601 Duration Calculator
Parse an ISO 8601 duration such as P1Y2M3DT4H5M6S and add it to a start date on the real calendar, so months land on the same day of the month and never past its end.
Years and months are calendar units, so the end date is worked out on the real calendar: one month after 31 January is 28 February, or 29 February in a leap year. Only the smallest unit may carry a decimal fraction, and a week duration cannot be mixed with other units. End times are rounded to the nearest second, with halves rounding up. Totals are exact when the duration has no years or months; with years or months they are nominal, using 1 month = 30 days. Date arithmetic runs in UTC so a daylight-saving change never shifts the result. Everything is calculated in your browser.