Hex Calculator
Hexadecimal arithmetic with hex, decimal, binary, and octal output plus a base converter.
0–9, A–F · 0x prefix optional
0–9, A–F · 0x prefix optional
0x1A (decimal 26) + 0x2F (decimal 47) = 0x49 (decimal 73). One hex digit = 4 bits — two hex digits are exactly one byte.
Each digit shows its decimal and 4-bit binary value — digits used in your operands are highlighted. Hex is case-insensitive: 1A = 1a.
The Best Hex Calculator
Hex In, Four Bases Out
Enter two hex values and an operation; the result is shown simultaneously in hex, decimal, binary, and octal with base prefixes.
Exact BigInt Math
No 32-bit wrapping: operands of any length compute exactly, and ÷ reports quotient plus remainder so the split is verifiable.
Built-in Base Converter
Type one value as hex, decimal, binary, or octal and instantly see it in the other three bases — prefixes optional.
0–F Digit Table
A live reference card of all sixteen hex digits with decimal and binary equivalents; digits used in your operands are highlighted.
How to Use It in 3 Steps
Enter Two Hex Values
Digits 0–9 and A–F, case-insensitive, 0x prefix optional. Invalid characters are flagged in red before any math runs.
Choose +, −, ×, or ÷
Division truncates toward zero and shows the remainder so you can reconstruct the exact answer.
Copy the Base You Need
Read hex large, grab decimal/binary/octal from the stat cards, or use the converter for one-off base switches.
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…
GDP Calculator
GDP by expenditure approach: C + I + G + (X − M), with…
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…
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 hex calculator.How do hexadecimal digits map to bits?
One hex digit is exactly 4 bits (a nibble): 8 = 1000, F = 1111. Two hex digits are one byte, which is why memory addresses, color codes (#RRGGBB), and MAC addresses are written in hex. The reference table on the right lists all sixteen digits with their decimal and binary values.
Why do results show a 0x, 0b, or 0o prefix?
Prefixes prevent ambiguity between bases: 0x49 is hex, 0b1001001 is binary, 0o111 is octal, and 49 alone would be decimal. The calculator prints every result with its base prefix, and it accepts an optional 0x on your hex input as well.
Does anything get transmitted or stored?
No. Parsing and arithmetic happen on-device with JavaScript BigInt — nothing is uploaded, nothing is cached, and closing the tab erases everything.
What are the limits of the hex calculator?
Inputs are unsigned whole numbers (no negative or fractional hex). Division truncates toward zero and shows the remainder separately — 0x1A ÷ 0x07 gives quotient 0x3 with remainder 0x5. For negative values, work in two's complement separately.
When do I actually need hex arithmetic?
Offset and address math (0x1A00 + 0xFF), summing byte fields in checksums and protocol headers, adjusting color channels, and converting values a debugger printed in hex into decimal or binary on the spot.