Tools

Home
Percentage CalcUnit ConverterBMI CalculatorCross SumTip Calculator

Basic Calculator

Perform arithmetic, square roots, and more — keyboard supported, history saved for this session

Your files never leave your browser
 
0

History

No calculations yet.
Results appear here.
Click any result to reuse it

Punch in arithmetic, percentages, or square roots and get the answer instantly — with full keyboard support and a history panel that saves your last 20 results. Click any past result to pull it back into a new calculation. And everything runs in your browser. Nothing gets uploaded.

How It Works

Enter Expression
→
Parse & Evaluate
→
Display Result

You type or tap an expression like 45 + 18 × 3. The calculator parses the full expression and applies standard math precedence — multiplication and division first, then addition and subtraction. The result appears instantly, rounded to 10 decimal places to avoid floating-point weirdness (so 0.1 + 0.2 actually shows 0.3). Every calculation gets saved in the history panel on the right.

Examples

Splitting a dinner bill with tip

Four people, $87.40 tab, 20% tip. Find per-person cost.

INPUT
87.40 + 87.40 × 0.20 Then ÷ 4
OUTPUT
26.22

Calculating square footage for two rooms

Room A is 12.5 × 14 feet, Room B is 9 × 11. You need the total area for a flooring order.

INPUT
12.5 × 14 + 9 × 11
OUTPUT
274

Quick percentage discount

A $249 item is 15% off. What do you actually pay?

INPUT
249 - 249 × 0.15
OUTPUT
211.65

Who Uses This

🛒 Shoppers

Figuring out sale prices, tax amounts, and per-unit costs while comparing products.

🧑‍💻 Developers

Quick arithmetic checks when debugging calculations or converting units in code.

🎓 Students

Checking homework answers or working through multi-step math problems.

📊 Freelancers

Calculating project quotes, hourly rates, and invoice totals on the fly.

Common Mistakes

Forgetting order of operations

Typing 5 + 3 × 2 and expecting 16 instead of 11. Multiplication happens before addition — that’s standard math, not a bug. If you want addition first, calculate 5 + 3 separately, then multiply the result.

Pressing = multiple times

Hitting equals twice won’t repeat the last operation. If you need to multiply a result by the same number again, click the result in history and build a new expression.

Dividing by zero

The calculator will show an error. There is no workaround for this one — it is mathematically undefined. Double-check your divisor if you see an unexpected error.

Technical Details

Frequently Asked Questions

Can I use my keyboard instead of clicking buttons?

Yes. Use 0–9 for digits, +, -, *, / for operators, period for decimals, Enter or = to calculate, Backspace to delete, and Escape to clear. It’s faster than clicking once you get used to it.

Does this calculator follow PEMDAS / BODMAS?

It does. Multiplication and division are evaluated before addition and subtraction, which matches standard math rules. The expression bar at the top shows exactly what will be calculated, so you can double-check before pressing equals.

Why does 0.1 + 0.2 show 0.3 here but 0.30000000004 in other calculators?

Floating-point arithmetic in computers creates tiny rounding errors. This calculator rounds results to 10 significant decimal places, which cleans up those artifacts. You get the answer you’d expect on paper.

Is my calculation data stored or sent anywhere?

No. Every calculation happens locally in your browser using JavaScript. Nothing leaves your device — no server calls, no cookies, no tracking. Close the tab and the history is gone.

How do I calculate a percentage of a number?

Multiply the number by the percentage as a decimal. For 20% of 150, type 150 × 0.20 and hit equals. You can also use the % button after entering a number — it divides by 100 automatically, so typing 150 × 20% gives the same result.

Share: