Math Calculator

Whether you're working through homework, double-checking a work calculation, or just trying to figure out a tip at dinner, a reliable math calculator makes everything faster and less stressful. This one covers everything from basic addition to trigonometry, so you're not hunting around for a different tool every time the problem gets more complex. Below you'll find explanations of every function available, along with examples and tips to help you get accurate results every time.

Enter Details

Expression

Result

Basic arithmetic

Note — This result is an estimate. Talk to a healthcare provider for personalized guidance.

How to Use the Math Calculator

Using the calculator is straightforward. Type your expression into the input field, hit Calculate (or press Enter), and the result appears instantly. A few things worth knowing before you dive in:

  • Use standard symbols: + for addition, - for subtraction, * for multiplication, and / for division.
  • Parentheses control the order of operations. When in doubt, add them.
  • Decimal values use a period, not a comma: write 3.14, not 3,14.
  • For exponents, use the ^ symbol. For example, 2^3 means 2 to the power of 3.

If you get an unexpected result, check your parentheses first. That's the most common culprit. The calculator follows standard mathematical order of operations, so an expression like 2 + 3 * 4 will return 14, not 20.

Basic Arithmetic Calculator

Addition, subtraction, multiplication, and division are the foundation of everything else. The calculator handles all four without any special syntax beyond the standard operators.

You can chain operations freely. Something like 150 + 75 - 30 * 2 / 5 is perfectly valid input. Just keep the order of operations in mind (more on that in a later section). For simple, left-to-right calculations where order doesn't matter, you can type naturally and get your answer right away.

A few practical examples:

  • 245 + 388 → 633
  • 1000 - 437 → 563
  • 56 * 14 → 784
  • 900 / 36 → 25

These operations also work with negative numbers and decimals, so you're covered for real-world scenarios like calculating a balance or splitting a bill unevenly.

Algebra and Equation Calculator

Algebra moves beyond plain numbers and starts working with unknowns, usually represented by a variable like x. The equation solver lets you input expressions with variables and find the value that makes the equation true.

For a linear equation like 2x + 5 = 13, the calculator will isolate x and return x = 4. Quadratic equations are supported too. Enter something like x^2 - 5x + 6 = 0 and you'll get both solutions: x = 2 and x = 3.

A few tips for getting clean results:

  • Always include the equals sign when you're solving an equation, not just simplifying an expression.
  • Use * explicitly for multiplication next to variables: write 2*x, not 2x, to avoid parsing errors.
  • For multi-step or nested expressions, wrap grouped terms in parentheses.

Algebra tools are especially useful for checking your work. Solve it by hand, then verify with the calculator to make sure you didn't drop a sign somewhere.

Fraction and Decimal Calculator

Fractions and decimals represent the same thing in different formats, and knowing how to work with both is genuinely useful. This calculator handles operations in either form and can convert between them.

Fraction Operations

Enter fractions using a slash: 3/4 means three-quarters. You can add, subtract, multiply, and divide fractions directly. For example:

  • 1/2 + 1/3 → 5/6
  • 3/4 - 1/8 → 5/8
  • 2/3 * 3/5 → 2/5
  • 5/6 / 1/2 → 5/3

Results are automatically simplified to their lowest terms, so you won't end up staring at something like 12/16 when 3/4 is the cleaner answer. Mixed numbers like 1 2/3 are also supported. Just leave a space between the whole number and the fraction part.

Decimal and Percentage Calculations

Decimals work exactly like whole numbers here. You can mix them freely in any expression: 12.5 * 4.2, 0.75 + 1.333, whatever the situation calls for.

For percentage calculations, enter the percent value followed by the % symbol. For example, 20% of 350 can be entered as 0.20 * 350 or 20% * 350, and both return 70. You can also calculate what percent one number is of another: divide the part by the whole, then multiply by 100.

Converting between fractions and decimals is simple too. Divide the numerator by the denominator: 3/4 = 0.75. Going the other direction, a repeating decimal like 0.333... is 1/3. The calculator can handle these conversions automatically when you select the appropriate output format.

Exponents and Square Root Calculator

Exponents and roots show up everywhere once you move past basic math, from geometry and physics to finance calculations like compound interest. The calculator handles both cleanly.

Powers and Roots

To raise a number to a power, use the ^ operator. So 4^3 means 4 cubed, which equals 64. Negative exponents work too: 2^-3 returns 0.125 (which is 1/8).

For square roots, use the sqrt() function: sqrt(144) returns 12. Cube roots and other nth roots can be expressed as fractional exponents: 27^(1/3) returns 3. Just make sure to wrap the fractional exponent in parentheses so it's interpreted correctly.

  • 5^2 → 25
  • 10^6 → 1,000,000
  • sqrt(225) → 15
  • 8^(1/3) → 2

Scientific Notation Support

Very large or very small numbers are much easier to work with in scientific notation. The calculator accepts input in the form 1.5e6 (which means 1.5 × 10^6, or 1,500,000) and 3.2e-4 (which is 0.00032).

Results that fall outside a normal readable range are automatically displayed in scientific notation so they stay readable. This is especially handy for fields like astronomy, chemistry, or engineering where the numbers regularly go to extremes. You can mix scientific notation with regular numbers in the same expression without any issues.

Trigonometry and Logarithm Functions

Trig functions and logarithms are where a lot of calculators fall short. This one doesn't.

For trigonometry, the standard functions are all available:

  • sin(x), cos(x), tan(x) for sine, cosine, and tangent
  • asin(x), acos(x), atan(x) for inverse (arc) functions

By default, angles are in degrees. If your problem uses radians, switch the angle mode in the settings before calculating. Getting that wrong is a very common source of errors, so it's worth double-checking.

Logarithm functions work similarly. Use log(x) for base-10 logarithm and ln(x) for the natural logarithm (base e). For a logarithm with a custom base, use the change-of-base formula: log(x) / log(base). For example, log base 2 of 8 would be entered as log(8) / log(2), which returns 3.

These functions are particularly useful for solving exponential equations, working with decibels, calculating pH in chemistry, or anything involving exponential growth and decay.

Percentage and Ratio Calculations

Percentages come up constantly, and the math isn't always obvious when you're doing it in your head. The calculator simplifies the most common scenarios.

Finding a percentage of a number: Multiply the number by the decimal form of the percent. 15% of 200 is 0.15 * 200 = 30.

Finding what percent one number is of another: Divide the part by the whole and multiply by 100. If 45 out of 180 students passed, that's (45 / 180) * 100 = 25%.

Percent increase or decrease: Subtract the original from the new value, divide by the original, then multiply by 100. A price that goes from $80 to $100 is a ((100 - 80) / 80) * 100 = 25% increase.

Ratios work in a similar vein. A ratio of 3:5 means for every 3 parts of one thing, there are 5 of another. To scale a ratio, multiply both sides by the same factor. The calculator can simplify ratios and find equivalent ones quickly, which is useful in cooking, mixing solutions, or reading maps.

Order of Operations (PEMDAS/BODMAS)

This is the rule that determines which part of a math expression gets calculated first when you have multiple operations happening at once. In the US it's taught as PEMDAS. In the UK and some other countries, you'll see BODMAS. Same concept, slightly different acronym.

StepPEMDASBODMASWhat it means
1ParenthesesBracketsSolve inside grouping symbols first
2ExponentsOrdersPowers and roots next
3MultiplicationDivisionLeft to right
4DivisionMultiplicationLeft to right
5AdditionAdditionLeft to right
6SubtractionSubtractionLeft to right

The calculator always follows this order automatically. But if your intended calculation doesn't match the default order, use parentheses to force a different grouping. For example, (2 + 3) * 4 returns 20, while 2 + 3 * 4 returns 14. Parentheses are free to use and they eliminate ambiguity completely.

Step-by-Step Math Examples

Seeing how an expression gets broken down can make the rules click in a way that abstract explanations don't. Here are a few worked examples across different types of problems.

Example 1: Mixed arithmetic
Expression: 3 + 6 * (5 + 4) / 3 - 7
Step 1: Parentheses first → 5 + 4 = 9
Step 2: Multiplication → 6 * 9 = 54
Step 3: Division → 54 / 3 = 18
Step 4: Addition → 3 + 18 = 21
Step 5: Subtraction → 21 - 7 = 14

Example 2: Solving a linear equation
Equation: 3x - 7 = 11
Add 7 to both sides → 3x = 18
Divide both sides by 3 → x = 6

Example 3: Percentage increase
Original value: 250. New value: 310.
Increase: 310 - 250 = 60
Percent increase: (60 / 250) * 100 = 24%

Example 4: Fraction addition
Expression: 2/5 + 3/10
Common denominator is 10 → 4/10 + 3/10 = 7/10

Working through examples like these manually first, then confirming with the calculator, is genuinely one of the best ways to build number sense and catch mistakes before they matter.

Common Math Formulas and Calculations

Some formulas come up so often it's worth having them handy in one place. Here's a quick reference for the ones you're most likely to need.

FormulaExpressionExample
Area of a rectanglelength * width8 * 5 = 40
Area of a circleπ * r^23.14159 * 4^2 ≈ 50.27
Pythagorean theorema^2 + b^2 = c^23^2 + 4^2 = 25, so c = 5
Compound interestP * (1 + r/n)^(n*t)1000 * (1 + 0.05/12)^(12*5) ≈ 1283.36
Slope of a line(y2 - y1) / (x2 - x1)(8 - 2) / (5 - 3) = 3
Quadratic formula(-b ± sqrt(b^2 - 4ac)) / (2a)For x^2 - 5x + 6 = 0: x = 2 or x = 3

You can plug these formulas directly into the calculator using the supported syntax. For pi, use 3.14159 or the built-in pi constant if your version supports it. Having these in your back pocket means you spend less time looking things up and more time actually solving the problem.

Other Maths Calculators

Explore all