Locking the Scene: 1 GB at 100 Mbps Shows 1 min 29 sec
This piece measures only the arithmetic of the download time calculator page itself, and every input stays on one set: file size 1, unit GB, bandwidth 100, unit Mbps, effective utilization 90. The main value on the page reads 1 min 29 sec, while the theoretical 1 min 20 sec only goes into the subtitle and the stats bar. The extra 9 seconds are not folklore; the whole division chain is just three cuts: /1e6, /8, x eff/100. We take those apart one by one below, then look at the edge outputs the duration formatter produces when it shifts gears, because a few perfectly legal display strings fall out of the seams.
Three Cuts: Bytes First, Then Speed, Then the Discount
- The size base is decimal: measured, 1 KB folds into 1000 bytes, 1 MB into 1000000, 1 GB into 1000000000, and 1024 appears 0 times in the template; this page walks the hard-disk-vendor line from its declarations all the way to its arithmetic.
- Bandwidth to speed uses a single factor, 8: 100 Mbps displays 12.50 MB/s; enter 100 MB/s instead and the subtitle writes bandwidth 800 Mbps, the same 8 in both directions.
- The discount is a linear multiply: 12.50 x 90/100 = 11.25 MB/s, then 1000 MB divided by it gives 88.888 seconds, which the formatter splits into 1 minute plus 29 seconds after rounding, so the page shows 1 min 29 sec.
- The theoretical value runs on another track: 1000 / 12.5 = 80 seconds, which is 1 min 20 sec, and it only appears in the subtitle and the stats bar.
Figure 1: the complete division chain for one input set inside the page; every number above is a measured display value, not a back-of-envelope estimate.
Where the Divide by 8 Happens
The division by 8 happens on the speed side, not on the size side: bytes are divided by 1e6 into MB first, then bandwidth goes from Mbps to MB/s through that single 8, and only when both sides line up are they divided. Decimals enter the arithmetic untouched: enter 100.5 Mbps and the page shows 12.56 MB/s (100.5/8 is really 12.5625; the display keeps two places); switch to the MB/s tier and enter 12.34, the subtitle writes 98.72 Mbps, divide by 8 again and you are back at the original value. Between the two directions the only factor is 8, nothing like a composite 8x1.024. If you want to see how the byte-versus-bit line of 8 runs on other pages, cross-check the wording on the unit conversion page.
How the 90 Percent Discount Enters the Chain
The discount is not a dropdown tier but a free number box labeled effective utilization, defaulting to 90, accepting only 1-100, multiplied onto the speed linearly as eff/100: eff90 gives 11.25 MB/s; switch to eff50 and you get 6.25 MB/s with the main value jumping to 2 min 40 sec; eff100 returns to 12.50 MB/s and the main value is exactly the theoretical 1 min 20 sec. The fault tolerance carries one residue detail: enter 0, 101, or an empty value for utilization and the page shows red text saying the effective utilization must stay between 1 and 100, then hides the result area, yet in the probe the old main value 1 min 30 sec still sits in the DOM, merely covered up. For an empty, 0, or negative file size or bandwidth, the whole page drops back to the empty state without raising any error at all.
Gear-Shift Quirks of the Duration Formatter
Minutes and hours floor down, seconds round, sub-seconds go through millisecond rounding, and combining the three rules produces several legal outputs that look plain wrong:
| Input fed to the formatter | Page display | Why it happens |
|---|---|---|
| dtFmtTime(0.9995) | 1000 ms | the millisecond tier rounds, and a full thousand does not shift up a gear |
| 1 KB @ 100 Mbps, eff100 | 0 ms | 0.00008 s times 1000 rounds down to zero |
| dtFmtTime(3599.6) | 59 min 60 sec | the minute tier truncates while the second tier carries, and they never talk |
| dtFmtTime(3600.4) | 1 hour | the 0 min 0 sec part gets swallowed by the display condition |
| dtFmtTime(90061) | 25 hr 1 min 1 sec | there is no day tier, so hours just keep piling up |
| 100000 GB @ 1 MB/s, eff1 | 2777777 hr 46 min 40 sec | the longest measured main value, still stuck on the hour tier |
The last two rows are direct evidence that the day tier does not exist: long tasks only make the hour count grow, and the formatter neither shifts gears nor truncates. This is simply the display shape of the page, so two examples stated as measured are enough here.
Figure 2: measured outputs at the four boundaries where milliseconds, seconds, minutes and hours change gears.
The Reference Table Rows Do Not Follow You
The common-broadband table at the page bottom hard-codes 100, 200, 300, 500, 1000 for 5 rows, unrelated to what you type: measured, changing the effective utilization from 90 to 50 and back leaves the captured text of all 5 rows word-for-word identical, and the at-90-percent column always multiplies by 0.9. The 100M row measures 12.50 MB/s; the 10 GB time columns read 13 min 20 sec and 14 min 49 sec, corresponding to 800 seconds and 888.888 seconds. One more copy mismatch: the site blurb lists only 100M, 300M, 500M and gigabit, while the table actually has 5 rows including the 200M tier, so take the measurement as the reference.
The Reverse Card: Ideal Value First, Then Marked Up
The reverse card only shows when the target minutes hold a positive number; the arithmetic runs backward but the factor pair stays the same: 1 GB, finished within 10 minutes, eff90, the measured main number is 14.8 Mbps with a parenthetical 1.67 MB/s. Step it out: the ideal requirement 1000x8/(10x60) gives 13.3 Mbps, then dividing by 90/100 marks it up to 14.8. The divide by 8 comes first and the discount after, exactly the same coefficients as the main chain. Put the target back to 0 and the card hides; its residue behavior matches the main value. The accounting for this page closes right here, and to try other tiers you can open the download time calculator and type your own inputs.
Do Not Mix the Two Base Lines
The conversion note on the page uses the decimal base, 1 KB = 10^3 and 1 GB = 10^9, while operating systems run another line that displays capacity as powers of 2; the old article Two Base Lines in Unit Conversion measured that latter one. This piece does not touch that ledger and only accepts this page's own /1e6, /8, x eff/100. One thing by the way: switching units does not convert the number you typed. The size stays 1, and switching from GB to MB recomputes the main value directly as 1 MB; to compare how units and numbers are each handled, the unit converter page is a different interaction entirely.
Quick Answers
Q: Why does the main value show 1 min 29 sec while the theory says 1 min 20 sec?
A: The theoretical value at the full 12.50 MB/s works out to 80 seconds and is kept in the subtitle only; the main value uses 11.25 MB/s after the 90 percent discount, lands on 88.888 seconds, and formats up into 1 min 29 sec. The 9-second gap is the discount, nothing more.
Q: Is 59 min 60 sec a broken page?
A: No. It is the normal product of minute-tier truncation plus second-tier rounding; the same set of rules also shouts 1000 ms in the millisecond tier, and in the hour tier there simply is no day tier left to climb into.
Q: What should effective utilization be set to?
A: The page defaults to 90, and it is only a linear factor. The note on the page itself says the real figure depends on the source server and the line, so this article uses it to estimate no real-world timing at all.