How we calculate
Clear calculations start with clear assumptions. Each of our 15 calculators uses the inputs you enter and the methods described here and on the relevant calculator page.
Percentages
To find a percentage of a value, multiply the percentage divided by 100 by that value. Relative percentage change divides the ending value minus the starting value by the starting value, then multiplies by 100; this tool requires a positive starting value. To express a part as a percentage, divide it by the nonzero whole and multiply by 100. Signed values are supported in the percentage-of and ratio modes.
The percentage calculator assumes no currency. Comparisons require matching units. Its results show up to six decimal places, with scientific notation for very small or large magnitudes so nonzero values do not disappear into a displayed zero. Close but distinct change endpoints retain their full supported numeric precision when needed. Percentage-point differences are distinct from relative percentage changes.
Pay and rent calculations
Apply these formulas with the rent increase calculator, pay raise calculator, or hourly to salary calculator.
Rent and pay changes use ordinary percentage arithmetic. A percentage adjustment multiplies the original amount by one plus the percentage divided by 100. The percentage change between two amounts divides their difference by the original amount.
Hourly pay becomes annual pay by multiplying the hourly rate by hours per week and paid weeks per year. Annual averages divide annual pay by 12 for monthly, 24 for semimonthly, 26 for biweekly, and 52 for calendar-week comparisons. These are gross amounts, not tax or payroll estimates.
Overtime
Regular hours, overtime hours, and double-time hours are entered separately. Each category is multiplied by its entered or stated rate, and the amounts are added. Hours are not automatically classified. The calculator does not determine legal eligibility, special regular-rate adjustments, or tax treatment.
Unit prices
Package prices are divided by comparable quantities. Weight units convert to grams and volume units to milliliters; results compare dollars per 100 g, per 100 mL, or per item. Ounces and pounds measure weight here. Fluid ounces and gallons use U.S. volume definitions. Weight, volume, and item counts are not interchangeable.
The percentage saving divides the difference between the higher and lower unit prices by the higher unit price. It uses unrounded amounts. Both prices can be zero; in that case, the options tie. Product quality, concentration, and waste are not modeled.
Same-unit comparisons are explained in the NIST unit pricing guide. Conversions use NIST conversion factors and the exact pound definition.
Discounts and sales tax
Multiply the original before-tax price by the discount percentage divided by 100 to find the discount. Multiply the original price by the remaining percentage to find the sale price. Tax is the sale price multiplied by the entered tax percentage divided by 100; the estimated total adds that tax to the sale price.
This model applies one percentage discount before tax. It does not look up a tax rate, determine taxability, or model shipping, fees, exemptions, or manufacturer coupons. Full precision is retained until display, so rounded line items can differ by a cent from the rounded total. Check the seller or relevant tax authority for the rules that apply to a purchase.
Uses the formulas on this page. For an example of why coupon treatment matters, see California CDTFA guidance on coupons and taxable sales. Check the rules for your purchase.
Tips and bill splitting
Multiply the full entered bill by the tip percentage divided by 100, then round the tip once to the nearest cent, with half-cent ties rounded up. Add that rounded tip to the bill. Divide the total cents by the number of people: everyone pays the whole-cent quotient, and the number of people given by the remainder pays one additional cent. These payments add up exactly to the total.
The bill must use whole cents, the tip rate may have at most two decimal places, and the group size must be a positive whole number. Tax, fees, and automatic gratuities are not added or detected. Include charges you want to split in the bill; the tip applies to that full amount. This tool supports equal splits only and caps the combined bill and tip at $1,000,000,000,000.00.
Loan payments
The loan calculator assumes a fixed interest rate, equal payments at the end of each month, and a zero ending balance. The monthly rate is the entered annual interest percentage divided by 1,200. For a positive rate r, principal P, and n payments, the payment is P × r ÷ [1 − (1 + r)−n]. At 0% interest, the payment is P ÷ n.
Total repayment multiplies the unrounded payment by the number of months; total interest subtracts the principal. Displayed amounts are rounded to cents. A lender may round each scheduled payment and adjust the final payment, or use different dates and interest accrual. Fees, taxes, insurance, variable rates, balloon balances, and extra or late payments are outside this model.
The payment model follows the Microsoft PMT documentation and the documented annuity equation with a zero ending balance and payments at the end of each period. See the CFPB explanation of interest rate and APR for the distinction between rate and fees.
Compound interest and contributions
The savings model starts with a balance P, adds a contribution C at the end of each month, and reinvests interest at a fixed nominal annual rate. With n = years × 12 and r = annual interest percentage ÷ 1,200, the future balance is P × (1 + r)n + C × [(1 + r)n − 1] ÷ r. At zero interest, it is P + C × n. At zero years, only P remains.
Total deposited is the starting balance plus all contributions; interest earned is the future balance minus that total. Use the nominal interest rate, not APY. Time must be a whole number of years. This hypothetical estimate excludes taxes, fees, inflation, withdrawals, changing rates, and negative returns. Currency is rounded only for display.
The future-value model follows the Microsoft FV documentation and the documented annuity equation for contributions at the end of each period. The CFPB definition of annual percentage yield explains that APY accounts for compounding.
Savings goals
The savings goal calculator solves the monthly-growth equation for the contribution needed to reach a target T from a starting balance P over n whole months. The monthly rate r is the nominal annual interest percentage divided by 1,200. Before rounding, the contribution is max(0, [T − P × (1 + r)n] × r ÷ [(1 + r)n − 1]). At 0%, it is max(0, [T − P] ÷ n).
The contribution is rounded up to the next cent, and all projected totals use that rounded monthly amount. This can leave a small surplus above the target. Existing savings and their projected interest can reduce the required contribution to zero. Deposits arrive at month end and interest is reinvested. The nominal rate stays fixed; APY, taxes, fees, inflation, withdrawals, and changing returns are outside the model.
The savings-payment model follows the Microsoft PMT documentation and solves the documented annuity equation for contributions at the end of each period. The CFPB definition of annual percentage yield explains that APY accounts for compounding.
Commuting costs
Annual distance is one-way miles multiplied by two, days per week, and weeks per year. Dividing by miles per U.S. gallon gives fuel use. Multiply that by the entered price per U.S. gallon, then add the combined daily parking and toll amount once per commuting day.
Monthly cost is the annual total divided by 12. Daily cost is per commuting day, and weekly cost follows the entered days per week. Maintenance, depreciation, insurance, financing, and other ownership costs are excluded.
The distance, fuel-economy, and fuel-price relationship is explained by FuelEconomy.gov. Parking and tolls are the amounts you enter.
Electricity costs
Divide watts by 1,000, then multiply by hours per day and the entered days per month to get kilowatt-hours. Multiply by the entered dollars per kWh for monthly cost. A rate of 0.16 means 16 cents per kWh.
The 12-month illustration repeats the chosen month 12 times; a 30-day input represents 360 days across that illustration. The model uses constant power and a single energy rate. It does not separately add fixed fees, demand charges, taxes, or changing rates.
The relationship between watts, kilowatts, and kilowatt-hours follows the U.S. Energy Information Administration explanation. Cost uses the electricity rate you enter.
Rent affordability budget
Subtract other monthly costs and the savings goal from monthly take-home income to find the room for total housing costs. Subtract utilities and housing fees to find room for base rent. Displayed housing and rent budgets stop at zero; any amount by which other costs, savings, and housing extras exceed income is shown as a shortfall before rent.
Use income after taxes and payroll deductions, and count each expense once. This is a remainder from your chosen budget, not a fixed income-percentage rule or an assessment of rental or loan eligibility.
Our monthly rent calculation adapts the income, expenses, and savings approach in the CFPB cash-flow budgeting worksheet (PDF) to the budget amounts you choose.
Inflation data
We use the Consumer Price Index for All Urban Consumers (CPI-U), U.S. city average, all items, not seasonally adjusted. The series identifier is CUUR0000SA0. The base is 1982–84 = 100.
Coverage is 2010–2025 annual averages. Both selected years use the same annual basis. The data was checked on October 24, 2026. This is a published-data snapshot, not a live feed or forecast.
2025 qualification: BLS calculated the 2025 annual average from 11 published monthly indexes. October 2025 was unavailable because of the federal government shutdown. No missing October observation is invented. BLS explains how the annual average was calculated.
- BLS summary of annual and semiannual indexes
- BLS historical CPI-U table, December 2024 (PDF)
- BLS explanation of CPI coverage and limitations
To preserve purchasing power, multiply the earlier salary by the later CPI divided by the earlier CPI. To measure real salary growth, divide the salary growth factor by the CPI growth factor, then subtract one.
CPI is a broad benchmark. It does not describe every household's spending, compare price levels between cities, or establish a cause for a change in prices.
Precision and validation
Except for the exact-cent tip and bill split described above, calculations retain precision until display. The general percentage calculator uses the six-decimal and scientific display rules described above. Other calculators generally show currency and percentages to two decimals, and published CPI values to three decimals. Their display ties round away from zero, with a narrowly bounded correction for binary floating-point noise. Rounded line items can occasionally differ by a cent from a rounded total in those estimates. The tip calculator instead settles its tip and payments in whole cents.
Required blanks, nonfinite values, unsupported selections, and impossible inputs do not produce successful results. Current pay and current rent must be positive when a percentage change is calculated. Package quantities, fuel economy, and monthly take-home income must also be positive. Supported zero prices, zero use, zero resulting pay or rent, and decreases are allowed. Unit comparisons require compatible measurement types, and days per month must be a whole number from 0 to 31.
Check a result
Use the worked example beneath each calculator to check the arithmetic. The Copy results and Print results actions include the entered inputs and key assumptions so that a calculation remains understandable outside the page.
Last method review: October 24, 2026.