# Fraction calculator

This fraction calculator performs all fraction operations - addition, subtraction, multiplication, division and evaluates expressions with fractions. It also shows detailed step-by-step informations.

## The result:

### 231/2 - 35/8 = 159/8 = 19 7/8 = 19.875

The spelled result in words is one hundred fifty-nine eighths (or nineteen and seven eighths).

### How do we solve fractions step by step?

1. Conversion a mixed number 23 1/2 to a improper fraction: 23 1/2 = 23 1/2 = 23 · 2 + 1/2 = 46 + 1/2 = 47/2

To find a new numerator:
a) Multiply the whole number 23 by the denominator 2. Whole number 23 equally 23 * 2/2 = 46/2
b) Add the answer from the previous step 46 to the numerator 1. New numerator is 46 + 1 = 47
c) Write a previous answer (new numerator 47) over the denominator 2.

Twenty-three and one half is forty-seven halfs.
2. Conversion a mixed number 3 5/8 to a improper fraction: 3 5/8 = 3 5/8 = 3 · 8 + 5/8 = 24 + 5/8 = 29/8

To find a new numerator:
a) Multiply the whole number 3 by the denominator 8. Whole number 3 equally 3 * 8/8 = 24/8
b) Add the answer from the previous step 24 to the numerator 5. New numerator is 24 + 5 = 29
c) Write a previous answer (new numerator 29) over the denominator 8.

Three and five eighths is twenty-nine eighths.
3. Subtract: 47/2 - 29/8 = 47 · 4/2 · 4 - 29/8 = 188/8 - 29/8 = 188 - 29/8 = 159/8
It is suitable to adjust both fractions to a common (equal, identical) denominator for adding, subtracting, and comparing fractions. The common denominator you can calculate as the least common multiple of both denominators - LCM(2, 8) = 8. It is enough to find the common denominator (not necessarily the lowest) by multiplying the denominators: 2 × 8 = 16. In the following intermediate step, it cannot further simplify the fraction result by canceling.
In other words - forty-seven halfs minus twenty-nine eighths is one hundred fifty-nine eighths.

### Rules for expressions with fractions:

Fractions - use a forward slash to divide the numerator by the denominator, i.e., for five-hundredths, enter 5/100. If you use mixed numbers, leave a space between the whole and fraction parts.

Mixed numerals (mixed numbers or fractions) keep one space between the integer and
fraction and use a forward slash to input fractions i.e., 1 2/3 . An example of a negative mixed fraction: -5 1/2.
Because slash is both sign for fraction line and division, use a colon (:) as the operator of division fractions i.e., 1/2 : 1/3.
Decimals (decimal numbers) enter with a decimal point . and they are automatically converted to fractions - i.e. 1.45.

### Math Symbols

SymbolSymbol nameSymbol MeaningExample
-minus signsubtraction 1 1/2 - 2/3
*asteriskmultiplication 2/3 * 3/4
×times signmultiplication 2/3 × 5/6
:division signdivision 1/2 : 3
/division slashdivision 1/3 / 5
:coloncomplex fraction 1/2 : 1/3
^caretexponentiation / power 1/4^3
()parenthesescalculate expression inside first-3/5 - (-1/4)

The calculator follows well-known rules for the order of operations. The most common mnemonics for remembering this order of operations are:
PEMDAS - Parentheses, Exponents, Multiplication, Division, Addition, Subtraction.
BEDMAS - Brackets, Exponents, Division, Multiplication, Addition, Subtraction
BODMAS - Brackets, Of or Order, Division, Multiplication, Addition, Subtraction.
GEMDAS - Grouping Symbols - brackets (){}, Exponents, Multiplication, Division, Addition, Subtraction.
MDAS - Multiplication and Division have the same precedence over Addition and Subtraction. The MDAS rule is the order of operations part of the PEMDAS rule.
Be careful; always do multiplication and division before addition and subtraction. Some operators (+ and -) and (* and /) have the same priority and must be evaluated from left to right.