Fraction Calculator

Operation

Use integers, decimal points, fractions such as 1/3, or mixed numbers such as −2 1/3. Fraction results are exact and reduced; the decimal display is an approximation.

Results

Enter your values and select Calculate.

ab+cd=ad+bcbd\frac{a}{b}+\frac{c}{d}=\frac{ad+bc}{bd}

About this tool

This fraction calculator adds, subtracts, multiplies and divides two fractions, mixed numbers, integers or decimals and returns an exact, fully reduced result. Students use it to check homework, and cooks and builders use it for measurements given in fractions. A fraction is in lowest terms when its numerator and denominator share no common factor other than 1. The result is also shown as a mixed number and a decimal approximation.

How it works

Enter the first value, pick an operation and enter the second value. Each input can be a whole number such as 3, a decimal with a dot such as 0.25, a simple fraction such as 3/8 or a mixed number such as 1 1/2, with a space between the whole part and the fraction. Decimals are converted to exact fractions first, so 0.25 is treated as 1/4.

The calculator applies the rule for the chosen operation and divides the result by the greatest common divisor of its numerator and denominator. You get three forms of the same answer: the reduced fraction, a mixed number and a decimal. Use the fraction or mixed number when you need an exact value, for example on a tape measure or in homework.

ab+cd=ad+bcbd\frac{a}{b}+\frac{c}{d}=\frac{ad+bc}{bd}

Example

The default problem is 12+13\frac{1}{2} + \frac{1}{3}. The denominators differ, so cross-multiply: the new numerator is 1×3+1×2=51 \times 3 + 1 \times 2 = 5 and the new denominator is 2×3=62 \times 3 = 6. The sum is 56\frac{5}{6}, which is already reduced because 5 and 6 share no common factor. The tool shows the reduced fraction 5/6, the mixed-number form 0 5/6 (no whole part) and the decimal 0.833333333333.

Assumptions and limits

The tool works on exactly two operands and one operation at a time; it does not evaluate longer expressions, parentheses or exponents. Inputs can be integers, decimals with a dot, fractions such as 1/3 or mixed numbers such as -2 1/3. Fraction results are exact, while the decimal value is a rounded approximation. Division by zero is rejected.

Frequently asked questions

How do you add fractions with different denominators?

Rewrite both fractions over a common denominator, add the numerators and then reduce. For example, 14+16=312+212=512\frac{1}{4} + \frac{1}{6} = \frac{3}{12} + \frac{2}{12} = \frac{5}{12}. The calculator uses the product of the denominators as the common denominator and then simplifies, so it always reaches the same reduced answer.

How do you divide fractions?

Multiply the first fraction by the reciprocal of the second. For example, 23÷45=23×54=1012=56\frac{2}{3} \div \frac{4}{5} = \frac{2}{3} \times \frac{5}{4} = \frac{10}{12} = \frac{5}{6}. Dividing by a fraction smaller than 1 makes the result larger, which is a quick way to sanity-check the answer.

How do I convert a mixed number to an improper fraction?

Multiply the whole number by the denominator, add the numerator and keep the same denominator. So 2132\tfrac{1}{3} becomes 2×3+13=73\frac{2 \times 3 + 1}{3} = \frac{7}{3}. To go the other way, divide the numerator by the denominator: 7 divided by 3 is 2 with remainder 1, so 7/3 is 2 1/3.

How do I simplify a fraction?

Divide the numerator and denominator by their greatest common divisor. For 18/24 the greatest common divisor is 6, so the fraction reduces to 3/4. A fraction is fully simplified when that divisor is 1. The calculator always reduces its results this way.

Why does the decimal result look rounded?

Many fractions have decimal forms that never end, such as 5/6 = 0.8333… with the 3 repeating forever. The calculator shows the decimal to 12 significant digits, while the fraction and mixed-number results stay exact. If you need full precision in later steps, carry the fraction forward instead of the decimal.

Link with your values

Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.

ParameterValueIf omitted
aAfraction or decimal: 3/4, 1 1/2 or 0.75required
operationOperationone of: add, subtract, multiply, dividedefault add
bBfraction or decimal: 3/4, 1 1/2 or 0.75required

Examples

  • ?a=3/4&operation=multiply&b=1%201/2
  • ?a=2%201/3&operation=subtract&b=5/6

Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.

Result elements: [data-result-block="fraction_calculator"]