Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

Part as Percentage of Whole
18.75%
of the whole duration
Part duration (seconds) 5,400
Whole duration (seconds) 28,800

What is the Time Percentage Calculator?

This tool tells you what percentage one duration of time is of another. For example, if you worked 1 hour 30 minutes of an 8-hour shift, what share of the day did that take? Both the "part" and the "whole" are entered in hours, minutes and seconds, converted to a common unit (seconds), and compared.

How to use it

Enter the smaller duration under Part Duration and the total or reference duration under Whole Duration. You can leave any field at zero. Click calculate and the result shows the part as a percentage of the whole, along with both durations expressed in seconds so you can verify the math.

The formula explained

Each duration is first converted to seconds using \( t = h \times 3600 + m \times 60 + s \). The percentage is then simply the part divided by the whole, multiplied by 100:

$$\text{Percent} = \frac{\text{Part}_{\text{sec}}}{\text{Whole}_{\text{sec}}} \times 100\%$$

Because both values use the same unit, the conversion factors cancel out — so the result is correct regardless of how the time is split across hours, minutes and seconds.

Diagram showing hours, minutes and seconds converted into total seconds
Both part and whole are first converted to seconds before dividing.
Bar diagram comparing a part duration to a whole duration as a percentage
The percentage is the part duration divided by the whole duration, times 100.

Worked example

Part = 1 hour 30 minutes = 5,400 seconds. Whole = 8 hours = 28,800 seconds. $$\text{Percent} = \frac{5{,}400}{28{,}800} \times 100 = 18.75\%$$ So a 90-minute task is 18.75% of an 8-hour workday.

FAQ

Can the part be larger than the whole? Yes — the result will simply exceed 100%, meaning the part is longer than the reference duration.

What if the whole duration is zero? Division by zero is undefined, so the calculator returns 0% when the whole is empty. Enter a non-zero whole duration for a meaningful answer.

Does the unit split matter? No. 90 minutes and 1 hour 30 minutes give identical results because everything is converted to seconds first.

Last updated: