ToolSphere

Fraction Calculator

Student tools

Add, subtract, multiply and divide fractions or mixed numbers with steps. Show LCD and GCD, compare fractions and convert decimals with exact arithmetic.

Simplified answer

29/12

Mixed number: 2 5/12

Decimal: 2.41(6) (parentheses repeat)

Enter fractions, mixed numbers or decimals. Your answer and work update as you type.

Use 3/4, 1 3/4, -1 3/4 or 0.125. A minus before a mixed number applies to the whole value. Up to 120 characters per number.

Work shown

  1. First number: 1 3/4 = 7/4.
  2. First number: GCD(7, 4) = 1; reduced form: 7/4.
  3. Second number: 2/3 = 2/3.
  4. Second number: GCD(2, 3) = 1; reduced form: 2/3.
  5. LCD = (4 × 3) ÷ GCD(4, 3) = 12.
  6. Equivalent fractions: 21/12 and 8/12.
  7. 21/12 + (8/12) = 29/12.
  8. Simplify by GCD(29, 12) = 1: 29/12.
  9. Divide 29 by 12 for mixed form: 2 5/12.
  10. Decimal division: 29 ÷ 12 gives whole part 2 and remainder 5.
  11. Multiply each remainder by 10, divide again, and continue until the remainder is zero or repeats: 2.41(6) (parentheses mark the repeating cycle).

GCD means greatest common divisor; LCD means least common denominator. Fractions stay exact even when the decimal display is shortened.

On this browser only

Give feedback

Did this tool help?

Tell us what worked, what didn’t, or what you’d like next.

Opens Google Forms in a new tab with this tool’s name filled in. No sign-in or email required. Feedback is optional.

How to use Fraction Calculator

  1. 1Enter a fraction, mixed number, whole number or finite decimal in each number field.
  2. 2Choose add, subtract, multiply, divide or compare; conversion mode needs only the first number.
  3. 3Read the simplified answer above the fields, then follow the LCD, GCD and decimal steps.
  4. 4Use Load example to restore the worked problem or Clear fields to start again.

About Fraction Calculator

Fraction calculator with work shown

Use this fraction calculator to add, subtract, multiply or divide two numbers, compare their sizes, or convert between a decimal and a fraction. It accepts ordinary fractions, mixed numbers, whole numbers and finite decimals in the same fields. A loaded addition example shows the answer before you start typing. Every valid edit updates the simplified fraction, mixed form when appropriate, decimal display and written steps. Use it to check arithmetic homework, scale recipe quantities or review the fraction skills needed for algebra.

Enter mixed numbers and negative values

Write a fraction with a slash between its numerator and denominator. For a mixed number, leave a space between the whole part and the fraction. The loaded first input, 1 3/4, becomes the improper fraction 7/4: multiply the whole part by the denominator, then add the numerator. The fractional part of a mixed input must be smaller than its denominator. If it is not, enter the complete value as an improper fraction instead.

A leading minus on a mixed number applies to the entire quantity. Entering -1 3/4 means -7/4, or -1.75. This convention avoids treating the positive fractional part as a separate addition. Ordinary fractions can have a negative numerator or denominator; the calculator moves the sign to the numerator and keeps denominators positive. A zero denominator is undefined and clears the answer. A blank field also clears it rather than silently supplying a value.

Worked addition example using the LCD

The loaded problem is 1 3/4 + 2/3. The calculator first converts the mixed number to 7/4. The greatest common divisor of the denominators is 1, so the least common denominator is (4 × 3) ÷ 1 = 12. Rewrite the inputs as 21/12 and 8/12. Adding their numerators gives 29/12. Its numerator and denominator have GCD 1, so the fraction is already in simplest form.

Divide the numerator by the denominator to write the answer as 2 5/12. The decimal display is 2.41(6), where parentheses mean that the enclosed digit repeats indefinitely. These are different representations of the same exact answer. The LCD changes the size of the pieces so both fractions use equal pieces; it does not change either input's value. Adding denominators directly would describe different pieces and produce an incorrect sum.

Subtract, multiply and divide

Subtraction uses the same LCD method as addition, then subtracts the second rewritten numerator from the first. With the loaded inputs, subtraction gives 13/12, or 1 1/12. Keep the order of the inputs: reversing subtraction changes the sign of the answer. Parentheses in the written steps make a negative second numerator easier to follow.

Multiplication does not need a common denominator. Multiply the numerators together and the denominators together, then reduce. The loaded inputs produce 14/12, which simplifies by GCD 2 to 7/6, or 1 1/6. Division multiplies the first fraction by the reciprocal of the second. The same inputs give 7/4 × 3/2 = 21/8, or 2 5/8, with exact decimal 2.625. A zero second value has no reciprocal, so division by it produces a correction instead of a result.

Simplify using the GCD

The greatest common divisor is the largest positive integer that divides both numerator and denominator evenly. Dividing both by it preserves the value and removes all common factors. For example, the conversion mode reduces 6/8 by GCD 2 to 3/4. The work shows simplification of the inputs and the final arithmetic result. Equivalent input fractions may therefore appear in reduced form before the tool calculates an LCD. A zero result is displayed as a whole number, and its internal fraction has a positive denominator.

Convert decimals exactly

Choose Convert decimal ↔ fraction and enter a single number. A finite decimal is read as text, placed over a power of ten and reduced. For 0.125, the steps start with 125/1000 and divide by GCD 125 to produce 1/8. There is no intermediate floating-point conversion, so the entered decimal digits remain exact. This is useful when a homework question asks for a rational answer rather than a rounded decimal.

In the other direction, long division produces the decimal. A terminating expansion is labeled exact. A complete repeating cycle appears in parentheses, as in 1/3 = 0.(3). If the expansion needs more than 120 decimal places before terminating or revealing its full cycle, the display ends in an ellipsis and is labeled truncated. The fraction above it remains exact. Repeating-decimal input, scientific notation and arithmetic expressions are not accepted; enter a finite decimal or a fraction instead.

Compare fractions and check your work

Choose Compare fractions to see a less-than, greater-than or equality statement. The calculator compares exact cross products after normalizing denominator signs. Comparing 5/8 with 2/3 gives products 15 and 16, so 5/8 < 2/3. This avoids confusing two close values because their rounded decimals look identical. Each input is limited to 120 characters to keep calculation and steps readable. For general expressions use the scientific calculator; for percentages and percent changes use the percentage calculator.

Frequently asked questions

How do I add fractions with different denominators?

Find the least common denominator, rewrite both fractions with that denominator, add the numerators and simplify. The calculator shows each stage.

How do I enter a mixed number?

Separate the whole part and fraction with a space, such as 1 3/4. Keep the fractional part smaller than its denominator.

What does a negative mixed number mean?

A leading minus applies to the entire mixed number. For example, -1 3/4 means -7/4, not negative one plus three fourths.

Does multiplying fractions require an LCD?

No. Multiply the numerators and denominators separately, then simplify by the greatest common divisor.

How do I divide fractions?

Multiply the first fraction by the reciprocal of the second. The second value must be nonzero.

Can I turn a decimal into an exact fraction?

Yes. Choose conversion mode and enter a finite decimal. Its digits are converted directly to BigInt integers over a power of ten, then reduced.

What do parentheses in the decimal answer mean?

They enclose a complete repeating cycle. For example, 0.(3) means the digit 3 repeats indefinitely. An ellipsis means the display is truncated instead.

How does fraction comparison work?

The calculator makes denominators positive and compares exact cross products. It does not compare rounded decimals.

Can a denominator be negative or zero?

A negative denominator is allowed in an ordinary fraction and its sign is moved to the numerator. A zero denominator is undefined and rejected.

What inputs and sizes are supported?

Enter whole numbers, ordinary fractions, mixed numbers or finite decimals, up to 120 characters per input. Expressions, scientific notation and repeating-decimal input are unsupported.

Have a suggestion for Fraction Calculator?Share your feedback ↗