How we build calculators
Every calculator on this site goes through the same four steps before it's published, and each page shows when it was last updated.
Our process
Start from a recognised source: a standard formula, or guidance from a body such as the World Health Organization.
Write the calculation once, shared by every language, and test it against worked examples, including edge cases like zero, very large numbers and leap years.
Keep full precision while calculating and round only what's shown, so results don't drift.
Show the working: each page explains the formula and the steps behind your result.
Formulas and sources
What each calculator does, and where the method comes from.
Tip Calculator
Tip = bill × tip % ÷ 100. When the bill is split, each share is (bill + tip) ÷ people, and the rounding option rounds each share up to a whole unit of money.
Source: simple percentage arithmetic.
Loan Calculator
Monthly payment = P × r(1 + r)ⁿ ÷ ((1 + r)ⁿ − 1), where P is the amount borrowed, r is the yearly rate divided by 12 and n is the number of monthly payments.
Source: the standard annuity (fixed-rate amortization) formula.
EMI Calculator
EMI = P × r(1 + r)ⁿ ÷ ((1 + r)ⁿ − 1), where P is the loan amount, r is the yearly rate divided by 12 and n is the tenure in months. Each month’s interest is charged on the balance still owed.
Source: the standard reducing-balance (annuity) formula used by banks for EMIs.
Compound Interest Calculator
A = P × (1 + r ÷ n)ⁿᵗ, where P is the starting amount, r the yearly rate, n how often interest is added each year and t the number of years. Monthly deposits are added at the end of each month and grow at the matching monthly rate.
Source: the standard compound interest and future value of an annuity formulas.
SIP Calculator
SIP: FV = P × ((1 + i)ⁿ − 1) ÷ i × (1 + i), where P is the monthly amount, i the yearly return ÷ 12 and n the number of months. Payments go in at the start of each month; with a step-up the monthly amount rises once a year. Lumpsum: FV = P × (1 + r)ᵗ with yearly compounding. SWP: each month the balance grows by i and then the withdrawal is taken out.
Source: the standard future value formulas for an annuity due and for compound growth, as used by mutual fund SIP calculators.
BMI Calculator
BMI = weight in kg ÷ (height in m)². Adult categories: under 18.5 underweight, 18.5 to 24.9 healthy, 25 to 29.9 overweight, 30 and over obesity. BMI isn't read the same way for children or during pregnancy.
Source: World Health Organization adult BMI classification.
Calorie Calculator (TDEE)
BMR = 10 × weight in kg + 6.25 × height in cm − 5 × age, plus 5 for men or minus 161 for women (Mifflin-St Jeor). TDEE = BMR × an activity factor from 1.2 (mostly sitting) to 1.9 (very active). Goals use about 7,700 kcal per kg of body fat.
Source: Mifflin MD, St Jeor ST et al., American Journal of Clinical Nutrition (1990), the equation recommended by the Academy of Nutrition and Dietetics.
Decimal to Fraction Converter
The decimal's digits are written over a power of 10 (0.75 = 75/100), then reduced by their greatest common divisor using Euclid's algorithm.
Source: Euclid's algorithm for the greatest common divisor.
Scientific Notation Calculator
A number is written as m × 10ⁿ with 1 ≤ |m| < 10. Prefix names such as kilo and micro follow the International System of Units.
Source: the SI Brochure of the International Bureau of Weights and Measures (BIPM).
Aspect Ratio Calculator
Width and height are divided by their greatest common divisor, so 1920 × 1080 becomes 16:9. Missing sizes are found by keeping that ratio.
Source: Euclid's algorithm for the greatest common divisor.
PPI Calculator
PPI = √(width² + height²) in pixels ÷ the diagonal in inches. Pixels per centimetre = PPI ÷ 2.54.
Source: the Pythagorean theorem for the screen diagonal.
Digital Storage Converter
Decimal units use powers of 1000 (1 kB = 1000 bytes). Binary units use powers of 1024 (1 KiB = 1024 bytes).
Source: SI prefixes and the IEC 80000-13 binary prefixes.
Password Generator
Characters are picked with your browser's cryptographically secure random generator. Strength is shown as entropy: length × log₂(number of possible characters).
Source: the Web Crypto API (getRandomValues) and NIST SP 800-63B.
Percentage Calculator
x% of y = y × x ÷ 100. Percentage change = (new − old) ÷ old × 100. Adding x% = y × (1 + x ÷ 100).
Source: standard percentage definitions.
Age Calculator
Age is counted in whole calendar years, months and days on the Gregorian calendar. Anyone born on 29 February has a birthday on 28 February in years without one.
Source: the Gregorian calendar.
Date and Time Calculator
Days between = the end date’s day number − the start date’s day number, counted on the calendar so daylight saving never changes it. Adding months keeps the day of the month, or uses the month’s last day if it is shorter. Hours = finish − start − break, and a finish earlier than the start counts as the next day.
Source: the Gregorian calendar and ISO 8601 week numbers.
Limits
Calculators give estimates for planning and learning. They aren't financial, medical or legal advice. For decisions that matter, such as a loan offer or a health worry, check with a qualified professional.
Found a mistake or a result that looks wrong? We'd like to know. Contact us