Calculators & Converters
Exact conversions and calculations that run in your browser.
Convert
Unit Converter
Length, weight, temperature, volume, area, speed, time and data sizes, using exact definitions.
Time Zone Converter
Convert a date and time between time zones, with daylight-saving gaps and repeats shown.
Calculate
Percentage & Tip Calculator
Percent of, percent change, and tip split between people.
Date Calculator
Days between two dates, or add and subtract days from a date.
Numbers
Numbers and money
Roman Numeral Converter
Convert between numbers from 1 to 3999 and Roman numerals, with strict checking.
Aspect Ratio and Image Size Calculator
Work out a missing width, height or ratio, with the rounding stated.
Compound Interest Calculator
Balance, interest and a yearly table for savings with regular contributions.
Loan and Mortgage Calculator
Monthly payment, total interest and a full repayment schedule.
Health, age, money and pay
BMI Calculator
Body mass index from height and weight, in metric or imperial, with the WHO adult categories.
Age Calculator
Exact age in years, months and days, with total days, weeks and hours lived.
Discount and Markup Calculator
Sale prices, discounts, markup and margin, with the formulas shown.
Salary and Hours Calculator
Hourly, daily, weekly, monthly and annual pay from hours and working days, using the real month lengths.
Pets
Cat Life Stage Calculator
Find a cat's life stage from the 2021 AAHA/AAFP guidelines. The guideline gives no human-equivalent age, so none is shown.
Dog Age Calculator
Convert dog years to human years, and back, using the 2020 Cell Systems formula fitted to Labradors.
About these calculators
This section holds fifteen small tools for everyday sums. They convert units, time zones, number bases and Roman numerals. They calculate percentages and tips, dates and ages, discounts and margins, loans, compound interest, pay, body mass index and a pet's age or life stage.
How the numbers are worked out
Every calculation lives in one script file that the page calls, such as units.js for conversions, percent.js for percentages and tips, loan.js for repayments and dates.js for the calendar. Most of them use exact integer and fraction arithmetic instead of ordinary floating-point numbers, so a result such as 0.1 + 0.2 is exactly 0.3 and money does not drift by a cent. Rounding happens once, at the end, and each page says how: usually half up to the cent. The dog age calculator needs logarithms, so it is an approximation, and says so.
Each of these scripts has an automated test in the site's repository that checks edge cases such as leap days, clock changes, zero divisors and very large numbers. The tests protect the arithmetic, but a model cannot know your lender's fees, and a BMI figure is only a screening number. The money and health pages say that their results are estimates, not advice.
Privacy
All the calculators run in your browser. What you type is not sent to a server and is not stored. There is nothing to sign up for.
Choosing the right calculator
- Changing one unit into another: use the Unit Converter for length, weight, temperature, volume, area, speed, time and data sizes, or the Number Base Converter for binary, hex and other bases.
- Scheduling: the Time Zone Converter handles clock times, the Date Calculator counts days and adds or subtracts them, and the Age Calculator turns a birth date into years, months and days.
- Percentages and prices: the Percentage and Tip Calculator covers percent of, percent change and bill splitting, and the Discount and Markup Calculator covers sale prices, markup and margin.
- Borrowing and saving: the Loan and Mortgage Calculator shows repayments, and the Compound Interest Calculator shows growth. The Salary and Hours Calculator turns a pay figure into hourly, daily and monthly amounts.
- Other: the Aspect Ratio Calculator, the Roman Numeral Converter and the BMI Calculator.
- Pets: the Dog Age Calculator and the Cat Life Stage Calculator.