
Category
Everyday Life Calculations
Cooking, travel, home and time calculations that come up outside any classroom, with the everyday assumptions spelled out rather than hidden.
87 calculations published in this category.
Family
How To Calculate A Babysitting Cost
A babysitting cost estimate answers a practical question: what will an evening out actually cost once the sitter has been paid? At its simplest the figure is the number of hours multiplied by the agreed hourly rate. Most families then add an agreed transport payment and a gratuity, which turn a simple wage into a realistic budget for the night.
(hours × hourly rate) + transport + (hours × hourly rate × tip rate)
How To Calculate A Childcare Cost
A simple childcare cost estimate turns three inputs into a clear budget: the number of hours of care each week, an hourly rate and a weekly charge for supplies. Adding the time charge to the supplies gives the weekly cost, from which monthly and annual projections follow by multiplying by four and fifty-two. Separating the care-only figure from the supplies shows how much of the bill comes from time and how much from fixed incidentals. This is general budgeting education, not a quote for any provider.
Weekly care = weeklyHours x hourlyRate | Weekly total = Weekly care + weeklySupplies | Monthly = Weekly total x 4 | Annual = Weekly total x 52
Driving
How To Calculate A Car Fuel Range
A car's fuel range tells you how far you can drive on the fuel it is carrying, and it follows from just two numbers: the size of the tank and the miles travelled per gallon. This page also turns the same inputs into the cost of a full tank, the cost of each mile and the gallons burned every hundred miles. Together those figures answer most of the fuel questions that come up before a journey.
R = C x E
How To Calculate A Cost Per Mile
Cost per mile is the number that tells you what driving actually costs, and it is almost always higher than the fuel receipt alone suggests.
cost per mile = total cost / miles driven
How To Calculate Commute Cost
A commute is a repeating expense, which makes it one of the few household costs that can be forecast accurately. Distance, frequency and three unit costs are enough to turn it into an annual figure.
Annual cost = fuel + parking + tolls
Household
How To Calculate A Coffee Cost
A coffee cost calculation turns a small daily purchase into a figure you can actually plan with. It multiplies cups per day by the price per cup, repeats that daily figure across a chosen number of days, and then projects a full year. The arithmetic is deliberately simple, so you can see exactly which input is driving the total.
Monthly cost = cups per day × price per cup × days per month
How To Calculate A Gym Membership Cost
A gym membership calculation adds the recurring payments under the contract to the one-off fees charged at the start. Multiply the monthly fee and any monthly add-ons by the number of months, then add the joining fee once. The result is a budgeting estimate that shows how the term, the add-ons and the initial payment each shape the total, rather than a quote from a real contract.
Total = monthly fee × months + joining fee + monthly add-ons × months
How To Calculate A Haircut Cost
A haircut budget adds the two charges that sit on top of the advertised price, a tip and sales tax, and then multiplies the all-in cost by how often you visit. The calculation looks at a single visit first, because that is the number you see at the terminal, and only then projects a yearly total. It is a planning estimate, so local tax rules and salon customs matter more than the tidy arithmetic.
Cost per visit = service price × (1 + tip rate + tax rate)
How To Calculate A Laundry Cost
A laundry cost calculation turns a pile of washing into a number you can put in a weekly budget. It adds the cost of washing and drying each load, adds detergent per load, and then adds a fixed charge once. With eight loads at 2.50 to wash, 2.00 to dry, 0.75 of detergent and a 1.50 fixed charge, the total is 43.50, or 5.4375 per load. This is a budgeting estimate rather than a metered bill: real laundry also carries water heating, machine wear and detergent that varies with the dose.
Total = loads × (wash + dry + detergent) + fixed cost
How To Calculate A Movie Night Cost
A movie night cost estimate adds up the price of a cinema outing before anyone leaves the house. Multiply the number of tickets by the ticket price, then add what will be spent at the concession stand. Comparing that total with a home alternative turns a description of spending into a decision about how to spend the evening.
(tickets × ticket price) + snacks
How To Calculate A Phone Bill
A phone bill calculation separates what you pay for the line from what you pay for the minutes beyond your allowance. Subtract the included minutes from the minutes you used, multiply any excess by the overage rate, then add the base fee and fixed fees. The result is a budgeting estimate you can use to see how a change in usage changes the total, not a copy of the itemised statement your operator sends.
Total = base fee + max(0, used − included) × overage rate + fixed fees
How To Calculate A Streaming Cost
A streaming cost calculation adds up a year of subscriptions and one-off hardware, then applies tax, to give a figure you can compare with other household bills. Three services at 12.00 a month over twelve months cost 432.00, a 60.00 device brings the subtotal to 492.00, and 8% tax takes the annual total to 531.36. Spread evenly that is 44.28 a month. It is a budgeting estimate: real plans have tiers, discounts, advertising-supported options and regional tax rules that this simple model cannot capture.
Annual cost = (services × monthly fee × months + device cost) × (1 + tax rate)
How To Calculate A Water Bill
Many household water bills combine a fixed base fee with a charge that depends on how much water you use. This page turns a meter reading and a price per 1,000 gallons into the total bill, then splits out the variable charge, the number of billing units and the effective rate you really pay. The arithmetic is short, but the distinction between the advertised rate and the effective rate is the part most people miss.
Total = base fee + (usage / 1,000) x rate per 1,000
Entertainment
Shopping
How To Calculate A Discount
A discount is a percentage taken off the price before tax, so the sale price and the money saved are two separate numbers that the tag never prints. On an original price of 120 with 25 per cent off, the saving is 30.0, the sale price is 90.0, and with 8 per cent tax the bill is 97.2.
sale price = original x (1 - rate); saving = original x rate
How To Calculate A Grocery Budget
A grocery budget is easiest to build from a rate rather than a total. Work out what one person's food costs for one week, multiply by household size, and every other figure follows by arithmetic.
Weekly budget = household size x spend per person per week
How To Calculate Shipping Cost
Shipping cost is rarely just weight times rate, and understanding the base fee and the zone multiplier is what stops a parcel quote coming as a surprise.
cost = (base fee + weight x rate per kg) x zone multiplier
How To Calculate Stacked Discounts
Stacked discounts multiply rather than add. A price of 200 cut by 20% and then by 10% falls to 160.0 and then to 144.0, an effective discount of 0.28, not the 0.30 that adding the two rates would suggest.
Final Price = Price x (1 - first) x (1 - second)
How To Calculate Unit Price
Unit price is the price divided by the quantity, expressed per gram, per litre or per 100 g, and it is the only figure that compares two packs of different sizes fairly. The arithmetic is one division; the discipline is applying it before you trust a label.
Unit price = price / quantity
Utilities
How To Calculate A Gas Bill
A gas bill calculation separates what you burn from what you pay just to have the service connected. Multiply therms used by the rate per therm, then add the fixed service charge. The result is a budgeting estimate you can use to test how a change in usage changes the total.
Total bill = (therms used × rate per therm) + fixed service charge
How To Calculate An Internet Bill
An internet bill calculation adds a base fee, an equipment rental and any charge for data used beyond the allowance. The overage is the only part that moves with your own behaviour, so separating it makes tariff comparisons much clearer. Multiply the monthly total by twelve when you need an annual figure.
Monthly bill = base fee + equipment rental + (extra GB × rate per GB)
Home
How To Calculate A Home Maintenance Cost
A common rule of thumb budgets annual home maintenance at about one per cent of a property's value. Multiplying the value by that rate gives the yearly figure, which can then be turned into a monthly allowance or scaled up to a five-year plan. This page works through the arithmetic and explains why the result is a planning estimate rather than a forecast. Actual spending depends on the age and condition of the property and on local labour rates.
Annual cost = home value x maintenance rate | Monthly = Annual / 12 | Five-year = Annual x 5
How To Calculate A Moving Cost
A DIY moving cost adds up three things: the truck rental, any paid labour and a charge for the miles driven. Splitting the total into those components shows where the money actually goes, while dividing by the hours worked puts the effort in context.
Total = truckRental + (hours x hourlyRate) + (miles x mileageRate) | cost per hour = Total / hours
How To Calculate A Pool Volume
Pool volume is the number every other pool calculation depends on, because chemicals, heating and pump run times are all dosed per litre rather than per pool.
volume = length x width x average depth
How To Calculate Air Conditioner Size
Air conditioners are rated in BTU per hour, which is a heat removal rate rather than a weight or a size. Getting the number right stops you buying a unit that cannot keep up, or one that is so oversized it never runs long enough to dehumidify.
BTU = area x 20 x (ceiling height / 8) x climate factor x kitchen factor
How To Calculate Concrete Volume
Concrete is ordered by volume and bought by the bag, so every slab, footing and path begins with the same three-number multiplication: length times width times thickness.
V = L x W x T
How To Calculate Electricity Cost
Electricity cost is power multiplied by time, converted into the unit the bill actually uses, then priced. Almost every wrong answer comes from confusing the two quantities — watts and kilowatt-hours — before any arithmetic begins.
Cost = watts x hours / 1000 x rate per kWh
How To Calculate Grass Seed Needed
Grass seed is sold by weight but spread by area, so the number of bags you need depends on two things: how big the lawn is and whether you are starting from scratch or thickening an existing sward.
pounds = (area / 1000) x seeding rate, bags = ceil(pounds / bag size)
How To Calculate House Cleaning Cost
A house cleaning estimate reduces a quote to three numbers: how many rooms need cleaning, the rate charged for each one, and a fixed fee for the visit. Adding the room charge to the fee gives the total, while dividing by the number of rooms reveals the true cost per room. Working through the arithmetic yourself makes it far easier to compare competing quotes and to see how the price changes if you add or remove rooms.
Total = (rooms x ratePerRoom) + fixedFee | Cost per room = Total / rooms
How To Calculate Household Water Usage
Household water use is dominated by a small number of fixtures. Measure showers, toilets and laundry and you have captured most of what goes through the meter indoors, without needing to read the bill and guess.
Daily gallons = shower use + toilet use + laundry use
How To Calculate Landscaping Cost
A landscaping estimate reduces a garden project to three numbers: the area to be treated, a rate for each square foot, and a fixed fee for delivery or setup. This page shows how those inputs combine into a total, how to express the result per hundred square feet, and what happens to the bill when the area doubles.
Total = area x rate per square foot + fixed fee
How To Calculate Lumber For Framing
Framing a wall comes down to counting studs at a fixed spacing, adding the plates that tie them together, and buying a little extra for the cuts that go wrong.
n = ceil(L / s) + 1
How To Calculate Moving Boxes Needed
Ordering too few boxes means a second trip to the shop mid-move, and ordering too many leaves you storing empty cardboard. The count scales with the number of bedrooms, which is the standard shorthand for household size.
boxes = bedrooms x 20, split 10 small, 6 medium, 3 large and 1 wardrobe
How To Calculate Paint Coverage
Paint coverage is quoted per litre per coat, so the coat count multiplies the area before you divide. The arithmetic is one multiplication and one division; the judgement lies in reading the coverage figure honestly and turning litres into tins you can actually buy.
Litres needed = (wall area x coats) / coverage per litre
How To Calculate Solar Panels Needed
Sizing a solar array is a division problem. Work out how much energy one panel produces where you live, then divide your daily consumption by that number.
panels = ceil(daily kWh / (panel kW x peak sun hours x (1 - losses)))
How To Calculate Tile Count
Tile count is the surface area divided by the area of one tile, with a wastage allowance added and the answer rounded up. The only real decisions are how much wastage to allow and which direction to round.
Tiles = (room area / tile area) x (1 + wastage)
How To Calculate TV Viewing Distance
Viewing distance is a trade-off between immersion and comfort. Sit too far away and the picture loses detail; sit too close and your eyes have to sweep to follow the action. The distance scales with the screen height, not the diagonal.
distance = screen height x viewing multiple, screen height = 9 x diagonal / sqrt(337)
Pets
Food Value
Dining
Travel
How To Calculate A Road Trip Cost
A road trip cost collects into three buckets: fuel, tolls and a place to sleep. The calculation turns a distance and a fuel efficiency figure into the gallons you will burn, prices those gallons, and then layers on road charges and the nights you spend away from home. Dividing the total by the distance gives a cost per mile, which is the handiest number for comparing one route or one vehicle with another.
Total = (distance / efficiency) x price + tolls + nights x nightly rate
How To Calculate A Taxi Fare
A taxi fare estimate turns four inputs into a single bill: the base fare, the rate per mile, the number of miles travelled and the tip. Splitting the result into the pre-tip fare, the tip and the effective cost per mile shows exactly where the money goes, and makes it easy to check a meter or compare two quotes.
Fare before tip = baseFare + (perMileRate x miles) | Total = Fare before tip x (1 + tipPercent) | Cost per mile = Total / miles
How To Calculate A Toll Cost
A distance-based toll has two parts: a fixed base charge and a variable charge that grows with the miles travelled. Adding them gives the total toll, and dividing that total by the distance reveals the effective cost per mile. Separating the fixed and variable pieces makes it easy to see how a longer journey changes the bill without changing the tariff.
Variable toll = tollPerMile x miles | Total toll = Variable toll + baseToll | Cost per mile = Total toll / miles
How To Calculate Car Rental Cost
A car rental bill is built from three separate charges: a daily rate for the days you keep the car, a per-mile charge for the distance you drive, and a fixed insurance fee. Adding the three parts gives the total you should expect to pay at the counter. Dividing that total by the days or the miles turns it into an effective cost per day or per mile, which makes competing quotes far easier to compare. This page works through each part in turn and shows where the usual surprises hide.
T = d x D + m x M + I
How To Calculate Fuel Cost
Fuel cost is two multiplications and one division: distance into litres, litres into money, and money into a rate you can reuse. The only real traps are the units and a consumption figure that runs backwards.
Fuel cost = (distance x consumption / 100) x price per litre
How To Calculate Gas Mileage
Gas mileage is a rate, and it arrives in two scales that run in opposite directions: litres per 100 kilometres, where lower is better, and miles per gallon, where higher is better. Converting between them is a reciprocal, not a single multiplication.
mpg = 100 / (L/100km) x 3.785411784 / 1.609344
How To Calculate Hotel Cost
A hotel bill is more than the nightly rate on the booking page. There is the room subtotal, a percentage added in taxes and fees, and often a flat charge for extras on top. This calculation assembles those three pieces into a total and then divides back by the nights stayed to reveal the effective cost per night, which is the number that really lets you compare one hotel with another.
Total = nightly rate x nights x (1 + tax rate) + other charges
How To Calculate Parking Cost
Parking cost is the charge for leaving a vehicle in a space for a period of time. At its simplest it is an hourly rate multiplied by the hours parked, with a flat fee added once on top. This page breaks the total into its hourly and fixed parts and shows how the same inputs give the effective hourly rate and the cost of a longer stay.
Total = hourly rate x hours + flat fee
How To Calculate The Camping Cost
A camping cost calculation adds up what a night outdoors really costs: a fee for the pitch, the gear you use, the food you eat and the journey to reach the site. Every recurring cost is multiplied by the number of nights, while the travel is paid once. This page sets out the formula, a five-step method and three worked examples so you can budget a weekend or a longer stay with confidence.
Total = nights × (site fee + gear cost + food cost) + travel cost
Renting
Tipping
How To Calculate A Split Bill
A split bill divides one restaurant bill between several people, and nearly every disagreement about it comes from the order of operations rather than from the arithmetic. The tip is a percentage of the pre-tip bill, it has to be added before anything is divided, and the split only stops being trivial once the shares stop being equal.
tip = bill x rate; total = bill + tip; per person = total / people
How To Calculate A Tip
A tip is just a percentage of a bill, yet most of the arguments around it come from two decisions rather than from arithmetic: what you take the percentage of, and at what point you split it.
Tip = bill x rate; total = bill x (1 + rate)
Food
How To Calculate A Takeaway Cost
A takeaway cost calculation tells you what a delivered order actually costs once the food, the delivery charge and a tip are combined. The arithmetic is simple, but each part is worked out on a different base, which is where budgeting estimates quietly go wrong. This page walks through the formula, a five-step method and three worked examples so you can plan a single order or a whole week of them.
Order cost = (meals × price per meal) + delivery fee + tip
How To Calculate The Delivery Cost
A delivery cost is more than the number printed on the menu. An order carries a flat delivery charge and usually two percentage extras: a service fee and a tip, both worked out on the value of the food. This page shows how to combine those parts into the price of one order, how to scale that price to a monthly habit, and where the estimate stops being reliable.
Order cost = order value + delivery fee + (order value × service rate) + (order value × tip rate)
Events
How To Calculate A Wedding Cost
A simple wedding cost estimate turns three inputs into a clear budget: the number of guests, an average cost per guest and a fixed venue fee. Separating the guest-only portion from the fixed fee shows exactly how much of the bill is variable, and reveals the effective cost per head once the venue is shared across everyone attending. The same arithmetic also shows what happens if the guest list grows. This is general budgeting education, not a quote for any real venue.
Guest cost = guests x costPerGuest | Total = Guest cost + venueFee | Effective cost per guest = Total / guests
How To Calculate Catering Cost Per Guest
A catering quote usually starts with two costs: the food itself and the staff needed to prepare and serve it. A service charge is then added as a percentage of that combined subtotal, producing the total you will be billed. Dividing the total by the number of guests gives the cost per head, which is the figure that matters when setting a ticket price or a budget. This page separates each component and shows how the service charge and the guest count change the answer.
T = (F + L) x (1 + s) ; C = T / N
Time & Dates
How To Calculate Age From Date Of Birth
Age is the distance between a date of birth and a reference date, and it can be expressed in several ways: whole years, total months, weeks, days, or hours. The calculation is a subtraction once both dates have been converted to a day count.
Days alive = day number of reference date - day number of birth date
How To Calculate Days Between Dates
Counting the days between two dates, or adding a number of days to a date, is a calendar arithmetic problem. Both operations reduce to converting each date to a day number, doing simple addition, and converting the result back to a calendar date.
Days between = day number of later date - day number of earlier date
How To Convert Time Zones
A time zone conversion is two arithmetic steps around a shared reference. The day shift that comes out of it is the part people get wrong, not the arithmetic.
target local time = local time - source offset + target offset
Home Improvement
How To Calculate Bricks Needed
Counting bricks is an area problem. Work out how much wall there is, subtract the holes, and divide by the area one brick occupies once the mortar joint is included.
bricks = (wall area - openings) x 144 / ((brick length + joint) x (brick height + joint)) x (1 + waste)
How To Calculate Deck Boards Needed
A deck is covered one row at a time. Work out how many rows fit across the width, multiply by the length, and you have the linear feet to buy.
rows = ceil(12 x deck width / (board width + gap)), boards = ceil(rows x deck length x (1 + waste) / board length)
How To Calculate Drywall Needed
Drywall is sold in whole sheets, so the job is to add up every surface, take off the openings, divide by the sheet area and round up with a waste allowance.
sheets = ceil((wall area + ceiling area - openings) / sheet area x (1 + waste))
How To Calculate Fence Posts
Fence materials come from one division and a few additions. The post count is the length divided by the spacing plus one, and everything else follows from the number of sections.
posts = fence length / post spacing + 1, rounded up
How To Calculate Flooring Needed
Ordering flooring is an arithmetic problem with a rounding trap at the end, because you cannot buy a fraction of a box.
boxes = (room area x (1 + waste allowance)) / pack coverage
How To Calculate Shingles Needed
Shingle quantity starts from the roof area, not the floor area. Steeper roofs cover more surface, so the pitch multiplier has to be applied before anything is ordered.
squares = roof length x roof width x pitch multiplier x (1 + waste) / 100
How To Calculate Wallpaper Needed
Wallpaper is bought by the roll, but the room is measured in square feet. Convert the walls into an area, subtract the openings, then divide by what one roll actually covers.
rolls = (2 x (length + width) x ceiling height - openings) / coverage per roll
Fitness
Auto
Transport
Work
How To Calculate Double Time Pay
A single overtime multiplier prices a simple week. A week with daily double time, weekly overtime and a holiday needs each band priced separately before the total means anything.
weekly pay = straight hours x rate + OT hours x rate x 1.5 + double time hours x rate x 2
How To Calculate Overtime Pay
Overtime pay is not a single multiplication. It is a split: hours up to a threshold are paid at the base rate, hours beyond it are paid at the base rate times a multiplier, and the two bands are added.
Total pay = min(H, T) x R + max(0, H - T) x R x M
How To Choose Hashtags
A hashtag is a label that joins a post to a feed. The labels everyone uses are the ones nobody sees, which is the whole problem in one sentence.
a set of n tags split roughly 25% broad, 45% mid and 30% niche, longest and most specific first
How To Generate Random Numbers
A random number generator turns a range into a draw. The interesting part is not the numbers themselves but the statistics of the set you get back.
value = floor(min + u x (max - min)), where u is a uniform draw in [0, 1)
How To Resize Product Images
Resizing is one multiplication applied to every coordinate in the frame. The only decisions are which ratio to scale by and what to do about the shape that is left over.
scale = min(box width / source width, box height / source height) to fit inside, max(...) to fill and crop
How To Write ChatGPT Prompts
A prompt is a specification rather than a question. The model cannot ask what you meant, so anything left out of it is something it will decide for you.
prompt = role + task + context + tone + format + constraints + a final-answer instruction
How To Write Email Subject Lines
A subject line has one job and about forty characters to do it in. Everything else in the email is invisible until that job is done.
subject = one concrete noun + one reason to open, kept under 41 characters
Technology
Home & Garden
Gardening
Salary
Text & Writing
How To Convert Text Case
Changing the case of a piece of text is not a single operation. There are at least eight named styles, each with its own rules, and picking the wrong one is as much a mistake as getting the letters wrong.
Title Case = capitalise each significant word, lower-case the small ones
How To Count Characters
Character limits are the hard constraints of writing online. Unlike a word count, which is a guide, a character limit truncates, rejects or splits your text the moment you cross it.
characters = length of the string, including spaces
How To Count Words
A word count looks trivial until two tools disagree about the same paragraph. The number depends on what counts as a word, and every editor makes that decision slightly differently.
reading time (minutes) = words / 200
How To Encode Text To Base64
Base64 takes any sequence of bytes and rewrites it using only letters, digits and two punctuation marks. The point is not secrecy but safety: the output survives channels that would otherwise mangle raw binary.
3 bytes -> 4 Base64 characters (with = padding to a multiple of 4)
How To Reverse Text
Reversing text is the simplest string operation there is, and also one of the easiest to get subtly wrong once the text leaves plain English and starts containing emoji or accented letters.
reverse(s) = the characters of s in the opposite order
How To Rewrite A Sentence
A rewrite is not a translation of meaning but of register. The facts stay where they are; what changes is how much space they take and who they sound like they are for.
rewrite = apply the strategy's substitution table in order, then delete its filler list