QREndless

GDP Calculator

The expenditure approach to GDP, solved live in billions of dollars.

100% on-device
Nominal GDP
$21,700B
C + I + G + (X − M)
Net Exports
−$600B
trade deficit
Per Capita
$65,758
GDP ÷ population

$21,700B nominal ÷ deflator 105 × 100 = $20,667B real GDP in base-year dollars — the gap is measured price inflation.

Live Breakdown
NOMINAL GDP$21.70T
Consumption C$14,000BInvestment I$4,500BGovernment G$3,800BNet exports NX−$600B

Updates live as you edit — when net exports are negative (a trade deficit) the ring shows the domestic components C + I + G only; add the −NX figure back to reach total GDP.

The Best GDP Calculator

Expenditure Approach

GDP = C + I + G + (X − M) with a live net-exports stat — the exact identity from macro textbooks, computed as you type.

Nominal → Real

Enter a GDP deflator (105 by default) and the calculator deflates nominal GDP to base-year dollars so price changes stop masquerading as growth.

Growth Rate Mode

Two years of GDP in, annual growth percent out — 21,000 → 21,700 computes as +3.33% with the absolute change shown alongside.

Per-Capita Included

Add a population in millions (330 by default) and see output per person instantly — the headline number everyone actually quotes.

How to Use It in 3 Steps

  1. Choose the Mode

    Work from the expenditure components (C, I, G, X, M) or enter two years of GDP to measure growth.

  2. Enter the Components

    Type spending in billions of dollars — add a population for per-capita GDP and a deflator to convert nominal to real.

  3. Read GDP and Shares

    See headline GDP, net exports, per-capita value, and the real-GDP figure, with each component's share drawn in the ring.

More Calculator Tools

160All free, all browser-based. Pick the right tool for the job.

401K Calculator

401(k) balance at retirement with match, growth and…

Age Calculator

Calculate age from birthdate

Amortization Calculator

Full payment-by-payment schedule showing interest vs…

Annuity Calculator

Present value of an annuity, or the payout a lump sum…

Annuity Payout Calculator

Fixed-period or lifetime-style periodic payout from a…

APR Calculator

True APR including lender fees — the real yearly cost…

Area Calculator

Area of 2D shapes — square, rectangle, triangle,…

Auto Lease Calculator

Lease payment from MSRP, cap cost, residual, money…

Auto Loan Calculator

Estimate monthly car payments

Average Return Calculator

Arithmetic mean return and geometric (CAGR) return from…

Bandwidth Calculator

Download time and required bandwidth for any file size…

Basic Calculator

Simple arithmetic calculator

Big Number Calculator

Exact arithmetic on arbitrarily large integers — add,…

Binary Calculator

Add, subtract, multiply, divide binary numbers — with…

BMI Calculator

Body Mass Index from height & weight

Boat Loan Calculator

Boat loan payment, total interest and payoff schedule,…

Bond Calculator

Bond price from face value, coupon, yield and maturity…

BTU Calculator

Air conditioner/heater size in BTU from room size,…

Budget Calculator

50/30/20 budget from take-home pay with line-by-line…

Business Loan Calculator

Business loan payment, total cost and amortization for…

Canadian Mortgage Calculator

Semi-annual compounding, accelerated bi-weekly — Canadian…

Cash Back or Low Interest Calculator

Compare a cash-back rebate against a lower APR over how…

CD Calculator

Certificate of deposit maturity value and APY…

Circle Calculator

Radius, diameter, circumference and area — enter any…

College Cost Calculator

Future college cost with tuition inflation, savings…

Commission Calculator

Base plus percent commission, tiered rates, and net…

Compound Interest Calculator

Project savings growth over time

Concrete Calculator

Estimate concrete volume for pours

Confidence Interval Calculator

CI for a mean (z or t) and for a proportion, at…

Credit Card Calculator

Fixed vs minimum payment payoff — months and interest…

Credit Cards Payoff Calculator

Snowball vs avalanche payoff across multiple cards with…

Currency Calculator

Convert between 20+ major currencies with editable…

Date Calculator

Days/months/years between dates

Day Counter

Count days, weekdays and weekends between two dates.

Day of the Week Calculator

What day of the week any date falls on, past or future.

Debt Consolidation Calculator

Combine multiple debts into one loan — see the real…

Debt Payoff Calculator

How long to be debt-free with a fixed payment, and what…

Debt-to-Income Ratio Calculator

Front-end and back-end DTI ratios that lenders use for…

Density Calculator

Density, mass or volume — solve any variable of ρ = m/V.

Depreciation Calculator

Straight-line, declining balance, or…

Dew Point Calculator

Dew point from temperature and humidity — comfort…

Dice Roller

Roll any number of dice with any sides — d4, d6, d8,…

Discount Calculator

Sale price from discount %

Distance Calculator

2D/3D Euclidean distance between points, with the…

Down Payment Calculator

Down payment savings plan and how it changes your loan,…

Electricity Calculator

Appliance energy cost from wattage, hours and your kWh…

Engine Horsepower Calculator

Engine HP from quarter-mile ET or trap speed — the…

Estate Tax Calculator

Gross estate minus debts and exemption — federal estate…

Exponent Calculator

Base raised to any power — including negative and…

Factor Calculator

All factors of a number, prime factorization, and…

FHA Loan Calculator

FHA mortgage payment with MIP, upfront UFMIP, taxes and…

Finance Calculator

TVM solver — enter any four of FV, PV, PMT, periods,…

Fraction Calculator

Add, subtract, multiply, divide fractions

Fuel Cost Calculator

Trip fuel cost from MPG & distance

Future Value Calculator

FV of a lump sum, periodic payments, or both combined.

Gas Mileage Calculator

Real MPG from fill-up records, plus cost per mile and…

Golf Handicap Calculator

Handicap index from recent rounds using the WHS…

GPA Calculator

Grade point average from courses

Grade Calculator

Weighted grade from assignments plus the final-exam…

Gravel Calculator

Gravel tonnage and cubic yards for driveways and paths…

Greatest Common Factor Calculator

GCF/HCF of two or more numbers via Euclidean algorithm,…

Half-Life Calculator

Solve any missing half-life variable — remaining…

Heat Index Calculator

NWS heat index from temperature and humidity, with risk…

Height Calculator

Predict child height from parents' heights…

HELOC Calculator

HELOC draw limit, interest-only payment, and amortizing…

Hex Calculator

Hexadecimal arithmetic and conversion to decimal,…

Home Equity Loan Calculator

Available equity, LTV limit, and the payment on a fixed…

Horsepower Calculator

HP from torque & RPM, or from force & velocity —…

Hours Calculator

Timesheet hours between clock in/out times, with break…

House Affordability Calculator

Work out the home price you can afford from income,…

Income Calculator

Annual, monthly, hourly income

Inflation Calculator

Purchasing power over time and the rate needed to hit a…

Interest Calculator

Simple vs compound interest side-by-side at any…

Interest Rate Calculator

Solve the unknown interest rate from principal, time…

Investment Calculator

Investment growth with contributions, rate, duration…

IP Subnet Calculator

Network, broadcast, mask, wildcard, host range and…

IRA Calculator

Traditional IRA growth, tax-deferred advantage, and…

IRR Calculator

Internal rate of return for any cashflow series, with…

Lease Calculator

Equipment/asset lease payment from value, residual,…

Least Common Multiple Calculator

LCM of two or more numbers with the step-by-step prime…

Loan Calculator

Monthly payment for any loan

Log Calculator

Logarithm in any base — ln, log10, log2, or custom.

Long Division Calculator

Step-by-step long division with remainder, decimal mode…

Margin Calculator

Gross margin from cost and revenue — plus markup and…

Markup Calculator

Selling price from cost & markup %

Mass Calculator

Mass from density and volume across common material…

Matrix Calculator

2×2 and 3×3 matrix operations: determinant, inverse,…

Mean, Median, Mode, Range Calculator

Full summary statistics for a data set — mean, median,…

Mileage Calculator

Trip distance, fuel used, cost, and reimbursement at…

Molarity Calculator

Molarity from mass, molar mass and volume — plus…

Molecular Weight Calculator

Molecular weight from a chemical formula like H2O or…

Mortgage Calculator

Monthly home loan payment

Mortgage Payoff Calculator

See how extra monthly payments pay off your mortgage…

UK Mortgage Calculator

Repayment or interest-only, in pounds, with LTV and…

Mulch Calculator

Mulch volume in cubic yards and bags for any bed size…

Mutual Fund Calculator

Lump sum plus SIP-style contributions with returns and…

Number Sequence Calculator

Arithmetic, geometric, Fibonacci-style sequences — nth…

Ohm's Law Calculator

V, I, R or power — enter any two, get the other two.

Payback Period Calculator

How many years an investment takes to repay its initial…

Payment Calculator

Fixed-term or fixed-payment loan solver — enter any…

Pension Calculator

Annual pension from final average salary, years of…

Percent Error Calculator

Percent error between observed and true values,…

Percentage Calculator

Percent of, increase, decrease

Permutation and Combination Calculator

nPr and nCr with the formula and step-by-step working…

P-Value Calculator

P-values from z, t, or chi-square with shaded distribution…

Personal Loan Calculator

Personal loan payment, total interest, and payoff…

Present Value Calculator

What a future amount or payment stream is worth in…

Probability Calculator

Single/double event probabilities, odds, and card/dice…

Pythagorean Theorem Calculator

a² + b² = c² — solve any missing side and see the check.

Quadratic Equation Calculator

Solve ax² + bx + c = 0

Random Number Generator

Random integers in any range, with unique-mode,…

Ratio Calculator

Solve the missing value in a proportion A:B = C:D and…

Real Estate Calculator

Full buy-and-hold deal analysis: cash flow, cap rate,…

Refinance Calculator

Compare your current loan to a refinanced one —…

Rent Calculator

How much rent you can afford based on income and the…

Rent vs. Buy Calculator

Side-by-side net cost of renting vs owning over your…

Rental Property Calculator

Rental investment returns: NOI, cap rate, cash-on-cash,…

Repayment Calculator

Fixed or graduated loan repayment plans — compare total…

Resistor Color Code Calculator

4/5/6-band resistor value, tolerance and temperature…

Retirement Calculator

Project retirement savings

Right Triangle Calculator

Right triangle solver — legs, hypotenuse, angles, area…

RMD Calculator

Required minimum distribution using the IRS Uniform…

ROI Calculator

Return on investment percentage

Roman Numeral Converter

Roman numerals to numbers and back, both directions…

Roofing Calculator

Roof area with pitch, squares of shingles, bundles and…

Root Calculator

Square, cube, or any nth root of a number, with decimal…

Roth IRA Calculator

Roth IRA growth with contributions — and Roth vs…

Rounding Calculator

Round to any decimal place or significant figure — up,…

Salary Calculator

Annual, monthly, hourly, daily salary

Sales Tax Calculator

Final price with sales tax

Sample Size Calculator

Required sample size for means or proportions at your…

Savings Calculator

Grow a starting balance plus regular contributions into…

Scientific Calculator

Trig, log, exp, powers, roots

Scientific Notation Calculator

Convert between decimal and a×10^b notation, and…

Shoe Size Conversion

Convert shoe sizes across US, UK, EU and centimeter…

Simple Interest Calculator

I = P·r·t — interest, total amount, and…

Sleep Calculator

Bedtimes or wake times around 90-minute sleep cycles.

Slope Calculator

Slope from two points or point+angle — with distance,…

Social Security Calculator

Benefit by claiming age 62-70 and the break-even age…

Speed Calculator

Speed, distance or time — solve any variable,…

Square Footage Calculator

Area in square feet from dimensions

Stair Calculator

Riser, run, stringer length and stair angle to…

Statistics Calculator

Mean, median, mode, std dev

Student Loan Calculator

Student loan payment, payoff timeline and interest with…

Surface Area Calculator

Total surface area of boxes, cylinders, spheres, cones…

Tile Calculator

Tiles needed for a floor/wall with layout pattern and…

Time Calculator

Add or subtract days, hours, minutes, seconds —…

Time Card Calculator

Work hours and pay from time cards

Time Duration Calculator

Duration between two dates/times in every unit…

Time Zone Calculator

Convert a time across world time zones using your…

Tip Calculator

Tip amount and total bill

Tire Size Calculator

Tire dimensions from metric size and speedometer error…

Triangle Calculator

Solve any triangle from three knowns — angles, sides,…

VA Mortgage Calculator

VA loan payment with funding fee by down payment and…

VAT Calculator

Add or remove VAT at any rate — gross, net, and the VAT…

Voltage Drop Calculator

Voltage drop over wire run — copper/aluminum, AWG,…

Volume Calculator

Volume of 8 solids: cube, box, cylinder, cone, sphere,…

Weight Calculator

Weight from mass and gravity — Earth, Moon, Mars and…

Wind Chill Calculator

NWS wind chill from temperature and wind speed,…

Z-score Calculator

Raw score → z-score, with probability above/below from…

Frequently Asked Questions

Everything you need to know about gdp calculator.
What is the expenditure formula for GDP?

GDP = C + I + G + (X − M): household consumption, plus business investment, plus government purchases, plus exports minus imports. With the defaults here, 14,000 + 4,500 + 3,800 + (2,500 − 3,100) = 21,700 billion dollars — net exports subtract 600 because the country imports more than it sells abroad.

Are imports subtracted because imports are "bad" for the economy?

No. Imports are subtracted only to avoid double counting: C, I, and G are measured as total spending, which includes imported goods that were not produced domestically. Removing M isolates what the nation itself produced — the import bill is already embedded in the spending figures.

Do my inputs stay private?

Yes — everything is computed locally in your browser. Whether you are entering textbook values or a draft model for work, no figure ever leaves your device and nothing is stored.

What is the difference between nominal and real GDP here?

The C+I+G+NX sum is nominal GDP in current prices. Divide by the GDP deflator and multiply by 100 to get real GDP in base-year prices: 21,700 ÷ 105 × 100 ≈ 20,667 billion. The 5-point deflator gap is measured inflation, so real GDP is the growth-comparable figure.

When is the growth-rate mode useful?

Enter nominal GDP for two consecutive years — 21,000 and 21,700 gives (21,700 ÷ 21,000 − 1) × 100 ≈ 3.33%. Use it for problem sets, quick country comparisons, or scenario checks. For rigor, feed it real GDP from both years, since nominal growth mixes volume and price changes.

Ready to use the GDP Calculator?

Open the tool