Free Online Calculator
Fast, accurate, responsive calculator.
About
Mathematics is essential for everyday decisions—from calculating discounts and splitting bills to budgeting and financial planning. While this tool provides instant automated results, understanding core formulas, order of operations, and mental math tricks lets you verify answers and make fast calculations in your head.
Essential Math Formulas
- Percentage of a Number:
(Percentage / 100) * Base Value— Example: 25% of 180 = (25 / 100) * 180 = 45 - Discount Price:
Original Price * (1 - Discount Rate / 100)— Example: 20% off $80 = $80 * (1 - 0.20) = $64 - Percentage Change:
((New Value - Original Value) / Original Value) * 100— Example: Price from $50 to $65 = ((65 - 50) / 50) * 100 = 30% increase - Profit Markup:
((Selling Price - Cost) / Cost) * 100— Example: Cost $40, Selling Price $50 = ((50 - 40) / 40) * 100 = 25% markup
Order of Operations (PEMDAS)
Calculations strictly follow the mathematical order of operations (PEMDAS/BODMAS): Parentheses/Brackets first, Exponents/Orders second, Multiplication and Division (left to right) third, and Addition and Subtraction (left to right) last. For example, 10 + 2 * 5 equals 20, not 60, because multiplication occurs before addition.
Mental Math Shortcuts
- The 10% Rule: Move the decimal point one place left (10% of $85 = $8.50). Half of that gives 5% ($4.25).
- Calculating Tips: For a 15% tip, take 10% of the bill and add half of that amount ($40 bill = $4 + $2 = $6 tip).
- Multiplying Large Numbers: Split 14 * 15 into (10 * 15) + (4 * 15) = 150 + 60 = 210.
- Rule of 72: Divide 72 by an annual interest rate to estimate years needed to double an investment (72 / 6% = 12 years).
Features
- Addition, subtraction, multiplication, and division
- Percentage calculations (e.g. 20% of 150)
- Decimal number support
- Full keyboard input — digits, operators, Enter, Backspace, Escape
- Error handling for invalid expressions and division by zero
- Mobile-friendly touch interface
- Zero data stored — all calculations run locally in your browser
FAQ
What is the standard mathematical order of operations?
Order of operations dictates that calculations are solved in this order: Parentheses/Brackets first, Exponents/Orders second, Multiplication and Division (left-to-right) third, and Addition and Subtraction (left-to-right) fourth. This rule is abbreviated as PEMDAS or BODMAS.
How do you calculate a percentage discount manually?
To calculate a discount manually, multiply the original price by the discount percentage expressed as a decimal (e.g., 20% becomes 0.20), then subtract that dollar amount from the original price. Alternatively, multiply the original price directly by (1 - discount rate). For example, 20% off $50 is $50 × 0.80 = $40.
What is the difference between Profit Margin and Profit Markup?
Markup compares gross profit to the original cost price (Profit / Cost), whereas Profit Margin compares gross profit to the final selling price (Profit / Revenue). For instance, if an item costs $80 and sells for $100, the profit is $20. The markup is 25% ($20 / $80), but the profit margin is 20% ($20 / $100).
Why does dividing by zero result in an error or undefined?
In mathematics, division is the inverse of multiplication. If 10 / 2 = 5, then 5 × 2 = 10. However, if 10 / 0 = x, then x × 0 would need to equal 10, which is impossible because multiplying any real number by zero equals zero. Therefore, division by zero is mathematically undefined.
How does the % button work on standard calculators?
The % button converts a entered number into hundredths (divides by 100). When combined with operators like multiplication (e.g. 200 × 15%), it calculates 15% of 200 (which equals 30). In addition or subtraction (e.g. 100 + 10%), it adds 10% of 100 to the total.
Can I use physical keyboard shortcuts on this calculator?
Yes. You can type numbers and math operators (+, -, *, /) directly. Press 'Enter' or '=' to evaluate, 'Backspace' to delete the last digit, and 'Escape' or 'C' to clear the display.
Why do floating-point calculations sometimes produce tiny trailing decimals?
Computers perform arithmetic in binary (base-2). Certain base-10 fractions, such as 0.1 or 0.2, repeat endlessly in binary notation, similar to how 1/3 repeats as 0.3333... in decimal. Modern calculation logic formats precision using precision limits (e.g., toPrecision rounding) to hide these internal representation artifacts.