Tools

Home
StopwatchCountdown TimerDate DifferenceTimerTimezone Converter

Convert Time to Seconds

Convert time in HH:MM:SS format to total seconds. 100% client-side.

Your files never leave your browser
Accepts HH:MM:SS, HH:MM, MM:SS, or just seconds
Ready·Enter a time value to convert

Drop any HH:MM:SS timestamp into the field above and get the total seconds instantly — plus decimal minutes and hours for timesheets, API parameters, or spreadsheet formulas. And everything runs in your browser. Nothing gets uploaded.

How It Works

Enter Time
→
Parse & Calculate
→
Total Seconds + Decimals

Type a time value — could be 01:30:45, just 5:30, or even a bare number like 90. The parser figures out whether you mean hours:minutes:seconds or minutes:seconds based on the values. Then it multiplies hours × 3,600 and minutes × 60, adds them to the seconds, and shows you the total along with decimal minutes and hours.

Examples

Timesheet Entry for Billing

A freelancer tracked 2 hours and 15 minutes on a client project and needs the decimal value for an invoice.

INPUT
02:15:00
OUTPUT
8,100 seconds 135.00 minutes 2.2500 hours

Video Duration for an API Call

The video is 45 minutes and 30 seconds long. The upload API needs the duration in seconds.

INPUT
45:30
OUTPUT
2,730 seconds 45.50 minutes 0.7583 hours

Marathon Finish Time to Seconds

A runner finished at 3:42:18 and wants to compare race times in a spreadsheet that sorts by total seconds. Decimal hours are also useful for calculating pace per mile.

INPUT
3:42:18
OUTPUT
13,338 seconds 222.30 minutes 3.7050 hours

Who Uses This

👨‍💻 Developers

Converting timestamps to seconds for API parameters, animation durations, or timeout values in code.

🎬 Video Editors

Getting frame-accurate durations in seconds for FFmpeg commands or subtitle sync offsets.

📊 Project Managers

Turning logged hours and minutes into decimal values for billing reports and timesheets.

🏃 Athletes & Coaches

Converting race splits and lap times into seconds for pace calculations and performance tracking.

Common Mistakes

Confusing MM:SS with HH:MM

Typing "5:30" could mean 5 minutes 30 seconds or 5 hours 30 minutes. The tool treats two-part inputs as minutes:seconds when both values are under 60. If you mean 5 hours and 30 minutes, type "5:30:00" with the trailing zeros.

Forgetting leading zeros matter less than you think

You don't need to type 01:05:09. Just 1:5:9 works fine — the parser handles both. People waste time padding single digits when it's not necessary here.

Using commas or periods as separators

Only colons work as time separators. Entering "1.30.00" or "1,30,00" won't parse correctly. Stick with the colon format: 1:30:00.

Technical Details

Frequently Asked Questions

How do I convert hours minutes seconds to seconds?

Multiply the hours by 3,600, the minutes by 60, and add both to the remaining seconds. So 2:15:30 becomes (2 × 3600) + (15 × 60) + 30 = 8,130 seconds. Or just paste the time here and skip the math entirely.

What is 1 hour in seconds?

One hour equals 3,600 seconds. That's 60 minutes times 60 seconds per minute. It is one of those numbers that shows up constantly in programming and data work.

How many seconds in a day?

A day has 86,400 seconds (24 × 60 × 60). If you enter 24:00:00 into the converter, that's exactly what you'll get. Leap seconds technically exist but aren't used in standard time math.

Can I convert decimal hours back to HH:MM:SS?

This tool goes one direction — time to seconds. For the reverse, you'd take the decimal part, multiply by 60 for minutes, then take that decimal part and multiply by 60 again for seconds. We have a separate seconds-to-time converter if you want to skip the arithmetic.

Is my time data stored or sent to a server?

No. The conversion happens entirely in your browser with JavaScript. Nothing gets uploaded, logged, or saved. Once you close the tab, the data is gone for good.

Share: