Example Data Table
| Milliseconds | Seconds | Minutes | HH:MM:SS.mmm |
|---|---|---|---|
| 250 | 0.25 | 0.0041667 | 00:00:00.250 |
| 1,000 | 1 | 0.0166667 | 00:00:01.000 |
| 90,000 | 90 | 1.5 | 00:01:30.000 |
| 3,600,500 | 3600.5 | 60.0083333 | 01:00:00.500 |
These are reference values. Your rounding mode and decimal places may display differently.
Formula Used
- milliseconds = input × (milliseconds per input unit)
- target value = milliseconds ÷ (milliseconds per target unit)
- seconds = ms ÷ 1000, minutes = ms ÷ 60000, hours = ms ÷ 3600000
- days = ms ÷ 86400000, weeks = ms ÷ 604800000
- microseconds = ms × 1000, nanoseconds = ms × 1000000
- ticks (100ns) = ms ÷ 0.0001
- frames = ms ÷ (1000 ÷ FPS)
How to Use This Calculator
- Enter a duration and choose its input unit.
- Set decimal places and a rounding mode for numeric outputs.
- Pick the output targets you want to display.
- Optional: enter a base date/time to add the duration.
- Press Convert to show results below the header.
- Use Download CSV or Download PDF to export.
FAQs
1) Why do results convert through milliseconds?
Using milliseconds as a base keeps the math consistent. The script multiplies your input by the unit factor, then divides by each target factor to produce clean outputs.
2) Can I convert negative durations?
Yes. Enter a leading minus sign, like -2500. Numeric targets and formatted strings will carry the negative sign, helping you model time deltas and offsets.
3) What does “Ticks (100 ns)” mean?
A tick is a 100-nanosecond interval used in some platforms. This tool treats one tick as 0.0001 milliseconds, letting you move between ticks and millisecond-based timings.
4) How are frame conversions calculated?
Frames depend on FPS. One frame lasts 1000 ÷ FPS milliseconds. The calculator divides total milliseconds by that frame duration to estimate the frame count.
5) Why might large nanosecond values look imprecise?
Very large or extremely tiny values can exceed typical floating-point precision. If you need exact big-integer nanoseconds, keep values smaller, or convert in stages to reduce rounding risk.
6) What’s the difference between Round, Floor, and Ceil?
Round selects the nearest value at your chosen decimals. Floor always goes down, and Ceil always goes up. This is useful for timeouts, throttling, and bucketed metrics.
7) How does the base date/time addition work?
When you provide a base date/time, the calculator adds the computed duration and returns a timestamp with milliseconds. It helps when you need an expected completion time or scheduled offset.
8) What is exported in CSV and PDF downloads?
Exports include the target list with values, plus the original inputs. Downloads use your most recent calculation stored in the session, so run a conversion before exporting.