Math tools · Algebra & Calculus

Type it in.
See every step.
Then check your work.

Free math calculators for algebra, calculus, trig, fractions and more. Every answer comes with the full step-by-step solution, with no login and no paywall. Or skip the typing: snap a photo of your problem and we will read it, solve it and show every step.

Snap a Problem new · beta

Done solving? Tap Save or print results on any calculator. Everything you solved goes onto one clean sheet you can print or save as a PDF for your notes.

New · Beta

Snap a Problem

Snap a Problem

Take a picture of one math problem. We read it, solve it and show every step.

Job: Photo
What it can solve
  • Equations: 2x + 3 = 11, x^2 - 3x + 2 = 0
  • Derivatives: derivative of 3x^4 - 2x^2 + 5x
  • Integrals: integral of 3x^2 from 0 to 2
  • Percent: 20% of 150
  • Fractions: 1/2 + 1/3
  • Slope: (1, 2) and (3, 6)
Beta

Your photo is read right on your device. It is never uploaded or saved.

Tips for a good photo, and what to expect

The photo reader works best on printed problems and neat handwriting. Math symbols are hard for any reader, so always check the text in Step 2 and fix anything that looks wrong before you trust the answer.

  • Photograph just one problem and crop out the rest of the page.
  • Use bright, even light and hold the camera steady and straight on.
  • Powers are written with ^, like x^2. A small raised 2 is often read as x2, so we turn that into x^2 for you.
  • The first photo takes a little longer because the reader has to download (about 10 MB). After that it is quick.
  • You can skip the photo and just type your problem in the box.

Word problems, trig inside an equation, and equations above x² are not supported yet. You can still use any calculator below by hand.

Math

Algebra

Linear Equation Solver

Solve ax + b = c for x.

Job: Algebra
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

To solve ax + b = c you undo the operations in reverse order. First move b to the other side by subtracting it from both sides. Then divide both sides by a.

Example: 2x + 3 = 11. Subtract 3: 2x = 8. Divide by 2: x = 4. Check: 2 × 4 + 3 = 11. ✓

Whatever you do to one side of an equation, you must do to the other. That is the one rule behind all of algebra.

What if my equation has x on both sides?
Move the x terms to one side first. For 5x + 2 = 2x + 11, subtract 2x and 2 from both sides to get 3x = 9, then enter a = 3, b = 0, c = 9.

Why can't a be 0?
Then the x disappears and you do not have an equation to solve for x.

Does it handle negatives and decimals?
Yes.

Quadratic Formula Calculator

Solve ax² + bx + c = 0, with discriminant and vertex.

Job: Algebra
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

The quadratic formula is x = (−b ± √(b² − 4ac)) ÷ 2a. The part under the square root, b² − 4ac, is the discriminant. It tells you how many real solutions exist.

  • Positive discriminant: two real solutions.
  • Zero: one repeated solution.
  • Negative: no real solutions, but two complex ones.

Example: x² − 3x + 2 = 0 has a = 1, b = −3, c = 2. The discriminant is 9 − 8 = 1, so x = (3 ± 1) ÷ 2, giving x = 2 and x = 1.

The vertex of the parabola sits at x = −b ÷ 2a.

My equation is not in the form ax² + bx + c = 0. What now?
Move everything to one side first so the other side is 0. For x² = 5x - 6, subtract 5x and add 6 to get x² - 5x + 6 = 0.

What does a complex answer mean?
The parabola never touches the x-axis. The solutions involve i, the square root of -1.

What if there is no x term?
Enter b = 0. A missing c is also 0.

Slope Calculator

Slope, line equation, distance and midpoint from two points.

Job: Graphing
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

Slope measures steepness: m = (y2 − y1) ÷ (x2 − x1), which is rise over run.

Once you have m, the y-intercept is b = y1 − m × x1, giving the line y = mx + b.

Example: points (1, 2) and (4, 8). Rise = 6, run = 3, so m = 2. Then b = 2 − 2 × 1 = 0, so the line is y = 2x.

We also give you the distance, √(run² + rise²), and the midpoint, the average of the two x's and the two y's.

What if the line is vertical?
The run is 0 and you cannot divide by 0, so the slope is undefined. The equation is x = a constant.

What does a negative slope mean?
The line goes down as you move to the right.

What if the line is horizontal?
The rise is 0, so the slope is 0 and the equation is y = a constant.

Math

Calculus

Derivative Calculator

Differentiate polynomials with the power rule, step by step.

Job: Calculus
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

The power rule says the derivative of c·x^n is c·n·x^(n−1). Multiply by the power, then lower the power by one. The derivative of a plain number is 0.

Example: f(x) = 3x^4 − 2x^2 + 5x − 7. Term by term: 3x^4 → 12x^3, −2x^2 → −4x, 5x → 5, −7 → 0. So f'(x) = 12x^3 − 4x + 5.

The derivative tells you the slope of the curve at any point. Evaluating at x = 2 gives the slope of the tangent line there.

Heads up: this version handles polynomials. Trig, exponential and product/quotient rules are on the roadmap.

Can it do sin, cos, e^x or ln?
Not yet. This first version covers polynomials, which is most of an intro calculus course.

How do I type x squared?
x^2. A term like 5x^3 can be typed 5x^3 or 5*x^3.

What does the derivative mean?
It is the instantaneous rate of change, the slope of the tangent line at each point.

⚠️ This version handles polynomials (like 3x^4 − 2x^2 + 5x − 7). Trig, exponential, and log functions are coming later.

Integral Calculator

Antiderivatives and definite integrals of polynomials.

Job: Calculus
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

The reverse power rule says the integral of c·x^n is c·x^(n+1) ÷ (n+1), plus a constant C. Raise the power by one, then divide by the new power.

Example: ∫ (3x^2 + 2x) dx = x^3 + x^2 + C.

For a definite integral, compute F(upper) − F(lower). From 0 to 2: F(2) = 8 + 4 = 12 and F(0) = 0, so the answer is 12. This is the area under the curve.

Heads up: this version handles polynomials. More function types are on the roadmap.

Why is there a + C?
Many functions share the same derivative; they differ only by a constant. C stands for that unknown constant.

Does the definite integral need + C?
No. It cancels when you subtract.

Can it integrate 1/x or sin(x)?
Not yet. This first version covers polynomials.

⚠️ This version handles polynomials (like 3x^4 − 2x^2 + 5x − 7). Trig, exponential, and log functions are coming later.
Math

Geometry & Trig

Pythagorean Theorem Calculator

Find a missing side of a right triangle.

Job: Geometry
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

In any right triangle, a² + b² = c², where c is the longest side (the hypotenuse, opposite the right angle).

To find c: square both legs, add, take the square root. For legs 3 and 4: 9 + 16 = 25, and √25 = 5.

To find a leg: rearrange to b² = c² − a². For a = 5 and c = 13: 169 − 25 = 144, and √144 = 12.

Does this only work for right triangles?
Yes. For other triangles you need the law of cosines.

Which side is the hypotenuse?
The longest one, directly across from the 90 degree angle.

Can I use any units?
Yes, as long as every side uses the same unit.

Right Triangle Trig Calculator

Sine, cosine and tangent to find sides and angles.

Job: Trigonometry
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

Remember SOH-CAH-TOA: sine = opposite ÷ hypotenuse, cosine = adjacent ÷ hypotenuse, tangent = opposite ÷ adjacent.

Example: angle 30° with the opposite side 5. Since sin 30° = 0.5, the hypotenuse is 5 ÷ 0.5 = 10.

To go the other way, use an inverse function. If opposite = 3 and adjacent = 4, then tan A = 0.75 and A = tan¹⁻(0.75) ≈ 36.87°.

The two non-right angles always add to 90°.

Opposite and adjacent to what?
To the angle you are working with. Opposite is across from it; adjacent is the non-hypotenuse side touching it.

Degrees or radians?
This calculator uses degrees.

Why must the angle be under 90?
One angle is already 90 degrees, and the three angles add to 180.

Math

Everyday Math

Percentage Calculator

Percent of a number, what percent, and percent change.

Job: Arithmetic
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

Percent of a number: divide the percent by 100, then multiply. 20% of 150 is 0.20 × 150 = 30.

What percent is it? divide the part by the whole, then multiply by 100. 30 out of 120 is 30 ÷ 120 = 0.25, which is 25%.

Percent change: subtract old from new, divide by the old value, multiply by 100. Going from 50 to 65 is (65 − 50) ÷ 50 = 0.30, a 30% increase.

How do I calculate a discount?
Use the first tab. A 25% discount on a $80 jacket: 25% of 80 = 20, so you save $20 and pay $60.

Why can't the old value be zero in percent change?
Percent change measures growth relative to where you started. Starting from zero, any growth is infinite in relative terms, so the math has no answer.

Can the answer be over 100%?
Yes. If the part is bigger than the whole, or a value more than doubles, the percent is over 100.

Fraction Calculator

Add, subtract, multiply and divide fractions.

Job: Arithmetic
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

Adding and subtracting need a common denominator. Find the least common multiple of the two bottoms, rewrite both fractions over it, then add or subtract the tops. 1/2 + 1/3 becomes 3/6 + 2/6 = 5/6.

Multiplying is straight across: tops times tops, bottoms times bottoms.

Dividing means multiplying by the reciprocal. Flip the second fraction, then multiply.

The answer is always reduced by dividing the top and bottom by their greatest common factor. Improper fractions also get shown as mixed numbers.

How do I enter a mixed number like 2 1/2?
Convert it first: 2 1/2 = (2 × 2 + 1)/2 = 5/2. Then enter 5 on top and 2 on the bottom.

How do I enter a whole number?
Put it over 1. For example, 3 is 3/1.

Why does the calculator say the bottom cannot be 0?
Dividing by zero is undefined, so a fraction with 0 on the bottom has no value.

GCF & LCM Calculator

Greatest common factor and least common multiple.

Job: Number theory
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

The greatest common factor (GCF) is the biggest number that divides all of your numbers evenly. The least common multiple (LCM) is the smallest number that all of them divide into evenly.

We find the GCF with Euclid's method: divide the bigger number by the smaller, then repeat with the remainder until it hits 0. The last divisor is the GCF. Then LCM(a, b) = a × b ÷ GCF(a, b).

Example: for 12 and 18, 18 = 1 × 12 + 6 and 12 = 2 × 6 + 0, so the GCF is 6 and the LCM is 12 × 18 ÷ 6 = 36.

What is the GCF used for?
Simplifying fractions. Divide the top and bottom by their GCF to reduce to lowest terms.

What is the LCM used for?
Finding a common denominator when adding or subtracting fractions, and for scheduling problems like when two repeating events line up.

Can I use more than two numbers?
Yes, up to ten at once.

Mean, Median & Mode Calculator

Average, middle value, mode, range and standard deviation.

Job: Statistics
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

Mean (the average) is the sum divided by how many numbers there are. Median is the middle number once sorted; with an even count it is the average of the two middle numbers. Mode is the value that appears most often. Range is largest minus smallest.

Standard deviation measures how spread out the numbers are. Use the population version when your list is the whole group and the sample version when it is a sample drawn from a bigger group.

Example: for 3, 7, 7, 2, 9 the sorted list is 2, 3, 7, 7, 9. The sum is 28, so the mean is 5.6. The median is 7 and the mode is 7.

What if two values tie for most common?
Both are modes. The calculator lists them all.

What if no value repeats?
Then there is no mode.

Population or sample standard deviation?
Homework usually says which one. If it does not, and your numbers are a sample of something larger, use the sample version.

About These Math Calculators

These calculators show the method as well as the answer, so you can learn the steps and check your own work. Answers are rounded to six decimal places. Use them to check homework, not to replace understanding it.

The derivative and integral calculators currently handle polynomials. Trig, exponential, logarithm, product-rule and chain-rule problems are not supported yet, and an unsupported expression will show a message instead of a wrong answer. If you ever get a result that looks wrong, tell us on the Contact page with the numbers you entered.

Save or print your results

On a phone, choose Save as PDF on the next screen to keep a copy.