Tool guide / School and work math
Check ages, work hours, GPA, fractions, and averages
These are the small calculations that come up on forms, time sheets, report cards, and homework. The Age Calculator, Hours Calculator, GPA Calculator, Fraction Calculator, and Statistics Calculator run in your browser, and every example below comes from the same code.
1. Exact age counts calendar months
Age is whole years first, then whole months, then the days left over. Someone born on January 31 is 36 years, 1 month, 0 days old on February 28, 2026, because February has no 31st and its last day completes the month. That is 13,177 days or 1,882 full weeks.
Open this birthday in the Age Calculator
Leap-day birthdays need a convention. The calculator counts February 29 birthdays on February 28 in common years, so someone born on February 29, 2004 turns 23 on February 28, 2027. Some legal systems use March 1 instead, so check if the date matters for a document.
2. Add up a time card
Subtract each start time from its end time, remove unpaid breaks, then add the days. A shift that ends earlier than it starts runs past midnight. This week totals 41:30, which is 41.50 decimal hours, with 1:30 over the 40-hour limit.
Open this week in the Hours Calculator
| Day | Break | Worked |
|---|---|---|
| Mon | 30 min | 8:00 |
| Tue | 45 min | 8:30 |
| Wed | 30 min | 7:30 |
| Thu | 60 min | 9:30 |
| Fri | 30 min | 8:00 |
Payroll uses decimal hours, so convert minutes by dividing by 60. Writing 7 hours 30 minutes as 7.30 underpays by 12 minutes.
| Minutes | Decimal hours |
|---|---|
| 15 | 0.25 |
| 20 | 0.33 |
| 30 | 0.50 |
| 45 | 0.75 |
At $20 an hour with time-and-a-half after 40 hours, this week pays $845.00 before taxes. Overtime rules differ by country, state, and contract; some count overtime per day instead of per week.
3. GPA is a credit-weighted average
Multiply each grade's points by the course credits, add them up, and divide by total credits. A 4-credit B+ moves a GPA more than a 3-credit A. For this schedule the unweighted GPA is 3.50 over 14 credits. Many high schools add 0.5 for Honors and 1.0 for AP or IB classes, which makes the weighted GPA 3.89.
To combine a new term with past results, weight the previous GPA by its credits. A 3.20 over 30 credits plus this term gives a cumulative GPA of 3.30, not the simple average of the two numbers.
Open this schedule in the GPA Calculator
4. Fractions need a common denominator
Add and subtract fractions after rewriting them over the same denominator; multiply straight across; divide by multiplying by the reciprocal. Results are exact and reduced to lowest terms.
| Expression | Simplified | Mixed | Decimal |
|---|---|---|---|
| 1/2 + 1/3 | 5/6 | — | 0.8(3) |
| 3/4 - 2/3 | 1/12 | — | 0.08(3) |
| 2 1/2 × 1 1/5 | 3 | — | 3 |
| 3/4 ÷ 1/8 | 6 | — | 6 |
| 1/2 / 3/4 | 2/3 | — | 0.(6) |
| 0.875 | 7/8 | — | 0.875 |
| 1/6 | 1/6 | — | 0.1(6) |
Digits in parentheses repeat forever: 1/6 is 0.1666… A spaced slash divides whole fractions, so 1/2 / 3/4 means one half divided by three quarters.
5. When the median tells the truer story
One extreme value pulls the mean but barely moves the median. In ten salaries where one is $250,000, the mean is $70,900 while the median is $51,500. The middle half falls between $47,000 and $58,000, and 250,000 is flagged as an outlier because it lies more than 1.5 times the interquartile range above Q3.
Open these salaries in the Statistics Calculator
Use the sample standard deviation (dividing by n − 1) when the numbers are a sample from something larger, such as survey answers. Use the population figure when you have every value, such as all scores in one class.
Related tools
Count days between two dates with the Date Calculator, convert pay periods with the Salary Converter, and work out percentage changes with the Percentage Calculator. These calculators also run in the Mer Tools extension. All tools are free; optional donations support development.