Fraction and Whole Number Calculator

First number

Second number

Answer
Improper
Decimal
Percent
Try

See the answer

Every picture is drawn from the numbers above and redraws as you type.

Pie models

Each circle is one whole

Adding with fraction bars

Number line

Where each number sits
First number Second number Answer

Step-by-step working

    How Fraction and Whole Number Calculator Works?

    Fraction and Whole Number Calculator works in 5 steps: it reads each input, converts every number to an improper fraction, applies the operation, simplifies the result by the greatest common divisor (GCD), and shows the answer in 4 forms.

    1. Read the input

      Each box takes a whole number, a fraction or a mixed number.

      212 + 34
    2. Convert

      A whole number n becomes n/1. A mixed number becomes an improper fraction.

      212 = 52
    3. Operate

      Add or subtract over the lowest common denominator (LCD). Multiply straight across. Divide by multiplying by the reciprocal.

      104 + 34 = 134
    4. Simplify

      Divide the numerator and the denominator by their GCD.

      GCD(13, 4) = 1
    5. Show 4 forms

      Mixed number, improper fraction, decimal and percentage, plus pictures and steps.

      314 = 3.25 = 325%

    The calculator keeps every number as 2 integers: a numerator and a denominator. No value is rounded during the calculation. The decimal form marks repeating digits with a bar, so 13 shows as 0.3̅.

    The answer comes with 5 visual models: pie models, fraction bars, an area model, grouping bars and a number line. A step-by-step solution of 3 to 6 steps follows the same method taught in grade 4 and grade 5 classrooms and in courses such as Khan Academy and IXL Learning.

    How to use the calculator

    1. Type the first number in the whole box, the fraction boxes or both.
    2. Pick an operation: + (addition), − (subtraction), × (multiplication) or ÷ (division).
    3. Type the second number.
    4. Read the answer, the pictures and the step-by-step solution. They update on every key press.

    Press the + button beside a number to make it negative. Each box accepts up to 6 digits.

    The calculator applies 4 rules, one for each arithmetic operation:

    Adding

    Turn mixed numbers into improper fractions, rewrite both over the lowest common denominator, then add the numerators.

    12 + 34 = 24 + 34 = 114

    Subtracting

    Same as adding: find a common denominator, then subtract the numerators. The answer can be negative.

    3 − 156 = 186 − 116 = 116

    Multiplying

    Multiply the numerators together and the denominators together. No common denominator is needed.

    23 × 4 = 2×43 = 83 = 223

    Dividing

    Flip the second number (take its reciprocal) and multiply. Dividing by zero has no answer.

    212 ÷ 34 = 52 × 43 = 313

    Fractions, mixed numbers and whole numbers in one place

    This free calculator works with any mix of whole numbers, proper fractions, improper fractions and mixed numbers. It uses exact arithmetic, so answers are never rounded: you get the simplified fraction, the mixed number, the decimal (with repeating digits marked) and the percent.

    The pictures make the maths visible. Pie models show how many wholes and pieces each number holds, fraction bars and the area model show what the operation does, and the number line shows where the answer sits. It is built for students checking homework, parents helping at home and teachers explaining fractions in class.

    Fraction and Whole Number Calculator formula

    The Fraction and Whole Number Calculator uses 6 formulas: 1 conversion formula for mixed numbers and 5 formulas for addition, subtraction, multiplication and the 2 directions of division.

    The 4 parts of a mixed number

    The parts of the mixed number 2 3/4: whole number 2, numerator 3, fraction bar and denominator 4 2 3 4 Whole numberhow many full units Numeratorhow many pieces you have Fraction barmeans “divided by” Denominatorhow many pieces make 1 whole

    A mixed number has 4 parts: the whole number, the numerator, the fraction bar and the denominator.

    Every formula starts the same way: write the whole number n as the fraction n/1. Then the rules of fraction arithmetic apply.

    • Simplification: a/b = (a ÷ GCD) / (b ÷ GCD). Example: 20/6 has GCD 2, so 20/6 = 10/3.
    • Decimal conversion: a/b = a ÷ b. Example: 3/8 = 0.375.
    • Percentage: a/b × 100%. Example: 3/8 = 37.5%.
    • Lowest common denominator: the least common multiple (LCM) of the 2 denominators. Example: LCM(4, 6) = 12.

    Equivalent fractions keep the same value: 5 = 5/1 = 10/2 = 20/4.

    Fraction and whole number formulas (a = numerator, b = denominator, n = whole number)
    OperationFormulaExample
    Mixed number to improper fractionwcd = w × d + cd234 = 2 × 4 + 34 = 114
    Additionab + n = a + n × bb34 + 2 = 3 + 84 = 234
    Subtractionab − n = a − n × bb114 − 2 = 11 − 84 = 34
    Multiplicationab × n = a × nb34 × 5 = 154 = 334
    Fraction ÷ whole numberab ÷ n = ab × n34 ÷ 2 = 34 × 2 = 38
    Whole number ÷ fractionn ÷ ab = n × ba3 ÷ 34 = 3 × 43 = 4

    More fraction calculators

    Each one covers a single kind of problem and draws its own picture.

    Fraction and Whole Number Calculator FAQ

    How to calculate fractions with whole numbers?

    To calculate fractions with whole numbers, write the whole number as a fraction over 1, then add, subtract, multiply or divide the 2 fractions. Each of the 4 operations uses 1 rule:

    • Add: 3/4 + 2 = 3/4 + 8/4 = 11/4 = 2 3/4.
    • Subtract: 3 − 3/4 = 12/4 − 3/4 = 9/4 = 2 1/4.
    • Multiply: 2/3 × 4 = 8/3 = 2 2/3.
    • Divide: 3/4 ÷ 2 = 3/4 × 1/2 = 3/8.

    Addition and subtraction need a common denominator. Multiplication and division do not.

    How to convert fractions with whole numbers?

    To convert a mixed number to an improper fraction, multiply the whole number by the denominator and add the numerator: 2 3/8 = (2 × 8 + 3)/8 = 19/8.

    To convert an improper fraction to a mixed number, divide the numerator by the denominator. 17/5 = 17 ÷ 5 = 3 remainder 2, so 17/5 = 3 2/5.

    17/5 = 3 2/51 whole1 whole1 whole2⁄5

    To convert a whole number to a fraction, write the whole number over 1 or as any equivalent fraction: 5 = 5/1 = 10/2 = 20/4.

    Does the fraction and whole number calculator simplify answers?

    Yes, the calculator simplifies every answer by dividing the numerator and the denominator by their greatest common divisor (GCD). 20/6 becomes 10/3, and the step-by-step solution shows the division.

    Does the fraction and whole number calculator show steps?

    Yes, the calculator shows a step-by-step solution of 3 to 6 steps for every answer. The steps cover conversion to improper fractions, the common denominator, the operation, simplification and the mixed number.

    Can the calculator divide a whole number by a fraction?

    Yes, the calculator divides a whole number by a fraction by multiplying the whole number by the reciprocal of the fraction. 3 ÷ 3/4 = 3 × 4/3 = 4. Type the whole number first, pick ÷, then type the fraction.

    Does the calculator work with negative numbers?

    Yes, the calculator works with negative fractions, negative mixed numbers and negative whole numbers. Press the + button beside a number to switch the number to negative. 3/4 − 2 = −1 1/4.

    Which grades learn fractions with whole numbers?

    Grade 4 and grade 5 students learn fractions with whole numbers under 3 Common Core State Standards (CCSS):

    • 4.NF.B.3: adding and subtracting fractions and mixed numbers with like denominators.
    • 4.NF.B.4: multiplying a fraction by a whole number.
    • 5.NF.B.7: dividing unit fractions by whole numbers and whole numbers by unit fractions.

    Is the fraction and whole number calculator free?

    Yes, the fraction and whole number calculator is free, with no account, no download and no ads. The calculator runs in the browser on phones, tablets and computers.