IP Subnet Calculator
IPv4 + CIDR in — network, broadcast, host range and binary out.
192.168.1.130/24 spans 192.168.1.0 through 192.168.1.255 — 254 usable hosts between 192.168.1.1 and 192.168.1.254.
AND-ing the address with the mask keeps only the network bits — the 24 leading ones — and zeroes every host bit, which is why the network row matches the IP everywhere the mask has a 1.
Updates live as you edit — the mask row’s ones boundary moves with the prefix, and the network row is the IP with host bits masked to zero.
The Best IP Subnet Calculator
Every Prefix /1 to /32
Bitwise math on true 32-bit unsigned integers — from a /8 with 16.7 million hosts down to a /32 single-host route.
Class + RFC1918 Chips
Instantly see A/B/C/D/E class by first octet and whether the address falls in the 10.x, 172.16–31.x or 192.168.x private ranges.
Host Counts That Add Up
Total hosts = 2^(32−prefix), usable = total − 2 for the reserved network and broadcast addresses — e.g. 256 total, 254 usable on a /24.
Wildcard Mask Included
The inverse mask (0.0.0.255 on a /24) is computed alongside the dotted netmask, ready to paste into Cisco-style ACL rules.
How to Use It in 3 Steps
Type an IPv4 Address
Enter any dotted-quad address — the default 192.168.1.130 shows a classic home-router /24 the moment the page loads.
Choose the CIDR Mask
Pick any prefix from /1 to /32, or jump with the /8, /16, /24 and /32 quick buttons for the common cases.
Read the Subnet Layout
Network and broadcast addresses, first and last usable host, wildcard mask, class and the full binary breakdown appear instantly.
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…
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…
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 ip subnet calculator.How are the network and broadcast addresses computed?
The IP and the subnet mask are treated as 32-bit numbers. The network address is IP AND mask (all host bits zeroed), and the broadcast address is network OR wildcard (all host bits set to 1). For 192.168.1.130/24 that yields network 192.168.1.0 and broadcast 192.168.1.255.
Why are usable hosts two less than total hosts?
In every normal subnet the first address is reserved as the network identifier and the last as the broadcast address, so a /24 has 256 total but 254 usable addresses. The two engineering exceptions are /31 point-to-point links (RFC 3021, both addresses usable) and /32 single-host routes — this calculator follows the standard rule and reports 0 usable for those.
Does this tool look up my IP online?
No. Parsing, bitmasking and the binary breakdown all run in your browser with plain JavaScript — the address you type never leaves your device, and nothing is stored.
What do the class and private/public chips mean?
The class chip is the historical classful scheme: A for first octet 0–127, B for 128–191, C for 192–223, D for multicast 224–239, E for reserved 240–255. The private chip checks RFC 1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) — those addresses are not routable on the public internet. Modern routing ignores class, but the labels still help when reading legacy documentation.
When would I actually use a subnet calculator?
Planning VLANs and DHCP scopes, checking whether two hosts share a subnet, writing firewall or ACL rules (the wildcard mask maps directly to Cisco syntax), or sizing a department: a /26 gives 62 usable hosts, a /25 gives 126.