Time Converter

Free time converter: convert between seconds, milliseconds, minutes, hours, days, weeks, months, and years instantly. Useful for time calculations.

AI-ready Use this tool with AI

This tool has a free JSON API. Copy a prompt or skill below to use it with ChatGPT, Claude, or any AI agent — no API key needed.

API docs
Enter a value to convert.

How time converter works

This converter handles common time units. It works by first converting the input to seconds (the base unit), then dividing by the target unit factor. For example, 1 hour equals 3600 seconds, 1 day equals 86400 seconds, and 1 year equals 31557600 seconds (accounting for leap years at 365.25 days).

The supported units are seconds, milliseconds, minutes, hours, days, weeks, months (averaged at 2629800 seconds or 30.44 days), and years (averaged at 365.25 days). These averages account for leap years and varying month lengths.

This is useful for time calculations in scheduling, project planning, science, and converting between different time representations. Results are rounded to six decimal places.

Frequently asked questions

How do I convert hours to minutes?
Multiply the hours value by 60. For example, 2.5 hours times 60 = 150 minutes. The converter does this automatically.
How many seconds are in a day?
One day equals 86400 seconds (24 hours times 3600 seconds per hour). The converter shows this and all other units when you select days as the source.
How is a month defined?
The converter uses an average month length of 30.44 days (2629800 seconds), which accounts for the varying lengths of calendar months and leap years over a full year cycle.
How many hours are in a year?
One year equals 8766 hours (365.25 days times 24 hours). The 0.25 accounts for leap years. The converter uses this average for accuracy.