The formula to calculate the fraction of an hour is:
\[ Y = \frac{X}{60} + \frac{Z}{3600} \]
Where:
A fraction of an hour represents either the fraction or decimal equivalent of a 60-minute time period. In other words, it is simply a fraction out of the integer 60.
Example:
Calculation:
\[ Y = \frac{30}{60} + \frac{45}{3600} = 0.5125 \]