时间计算器:加减小时、分钟和秒
任意多个时间按小时、分钟和秒相加或相减,可对总数乘除,并以 h:mm:ss、小数小时和分钟显示结果。
输入
提示:按 Ctrl + Enter 运行
已保存的设置
下方的详细帮助目前仅提供英文版。
关于此工具
Adding up time is awkward because 60 minutes make an hour, not 100. This calculator accepts a list of times in whatever format you have (1:45, 2:30:15, 1h 20m, 90 min, 1.5h) adds or subtracts them line by line, and can multiply or divide a running total. It shows the result as hours:minutes:seconds, days and hours, decimal hours, total minutes and total seconds, with a running total for each line so you can check the arithmetic.
Typical uses are totalling hours on a project, adding up video clip lengths, or working out how long five 7.5-hour shifts come to.
使用方法
- Type one time per line, such as 1:45 or 90 min.
- Start a line with − to subtract it, or with × or ÷ followed by a number to multiply or divide the total so far.
- Choose what plain numbers without units mean: minutes, hours or seconds.
- Run the calculation and read the total in the format you need.
计算原理
Every line is converted to seconds, then added, subtracted, multiplied or divided in order. The total is shown as h:mm:ss, d/h/min, decimal hours (seconds ÷ 3,600), minutes and seconds.
total = Σ(± hours × 3600 + minutes × 60 + seconds)计算示例
A freelancer logs 1:45, 2:30 and 90 min on a project, minus a 20-minute call that was billed elsewhere. Entering the four lines (the third as "- 0:20") gives 5:25:00, or 5.4167 decimal hours and 325 minutes. Five shifts of 7.5h entered as "7.5h" then "x 5" give 37:30:00.
示例输入和结果
时间,每行一个(以 − 开头表示减,× 或 ÷ 表示乘或除): 2:45:30 1h 20m + 45 min − 0:15 纯数字表示: 分钟 → 合计(时:分:秒): 4:35:30 → 合计(天、小时和分钟): 4 小时 35 分钟 30 秒 → 小时(小数): 4.5917 → 总分钟数: 275.5 → 总秒数: 16,530
局限性
- Durations, not clock times: for "what time will it be", use the clock time calculator.
- Multiplication and division apply to the running total at that line.
- Up to 100,000 characters of input.
最后更新:
常见问题
如何把小时和分钟相加?
每行填写一个时间,例如 1:45 和 2:30,然后点击运行。计算器会把所有时间换算成秒后相加,显示 4:15:00,即 4 小时 15 分钟或 4.25 小数小时。
如何把分钟换算成小数小时?
用分钟数除以 60。例如 7 小时 45 分钟 = 7 + 45 ÷ 60 = 7.75 小时。结果面板会显示任意总数的小数小时。
常见问题
Is 1:30 read as hours and minutes or minutes and seconds?
Two-part times are hours:minutes. Use 0:01:30 for one minute thirty seconds.
How do I convert the total to decimal hours for an invoice?
The result shows decimal hours directly, e.g. 5 h 25 min = 5.4167 hours.
Can the total be negative?
Yes, if you subtract more than you add; it is shown with a minus sign.
故障排除
A line is not understood.
Use formats like 1:30, 1h 30m, 90 min, 45s or 1.5h; avoid words such as "hours and".
Plain numbers are wrong by a factor of 60.
Change "plain numbers are" to the unit you meant.
Decimal hours look odd.
Decimal hours are fractions of an hour: 15 minutes is 0.25, not 0.15.
隐私 & 免费使用
我的输入会被保存吗?
你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。
这个工具免费吗?
是的。无需注册或付费。