ThisCalculator

Everyday

Whole Numbers, Fractions & Decimals Explained

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

This page explains the difference between whole numbers, fractions, and decimals, and how they relate to each other. You will learn what each type of number represents, how to convert between them, and how to perform basic operations. By the end, you’ll be able to confidently choose the right format for any situation.

Formula

There is no single formula for “whole numbers, fractions, and decimals” because they are different ways of writing numbers. The key relationships are:

  • Fraction to decimal: divide the numerator (top) by the denominator (bottom). For example, 3/4 = 3 ÷ 4 = 0.75.
  • Decimal to fraction: write the decimal over a power of 10, then simplify. For example, 0.6 = 6/10 = 3/5.
  • Whole number to fraction: put the whole number over 1. For example, 7 = 7/1.
  • Mixed number to improper fraction: multiply the whole part by the denominator, add the numerator, and keep the denominator. For example, 2 1/3 = (2×3 + 1)/3 = 7/3.

Worked Example

Using the default values from the calculator above: Number A = 3.5, Number B = 2.

  1. Sum: 3.5 + 2 = 5.5
  2. Difference: 3.5 − 2 = 1.5
  3. Product: 3.5 × 2 = 7.0
  4. Quotient: 3.5 ÷ 2 = 1.75

The calculator shows the same results: 5.5, 1.5, 7.0, and 1.75.

What Are Whole Numbers?

Whole numbers are the set of numbers that start at 0 and go up by 1: 0, 1, 2, 3, 4, and so on. They have no fractional or decimal part. They are used for counting discrete items (like apples or people) and for quantities that cannot be split, such as the number of cars in a parking lot. Whole numbers are a subset of integers, which also include negative numbers (−1, −2, …).

What Are Fractions?

A fraction represents a part of a whole. It is written as one number (the numerator) over another (the denominator), like 3/4. The denominator tells you how many equal parts the whole is divided into; the numerator tells you how many of those parts you have. Fractions are exact – they can represent values that decimals sometimes cannot, like 1/3 (which is 0.333… repeating). They are especially useful in cooking (1/2 cup), construction (3/8 inch), and any situation where exact ratios matter.

What Are Decimals?

Decimals are another way to write fractions using powers of 10. The decimal point separates the whole part from the fractional part. For example, 0.75 means 75/100, and 2.5 means 2 and 5/10. Decimals are convenient for measurements, money (like $3.50), and scientific calculations because they are easy to add, subtract, and compare. However, some fractions (like 1/3) become repeating decimals (0.333…) and must be rounded for practical use.

How to Convert Between Them

Converting between these forms is a common task. Here are the steps:

  • Fraction to decimal: Divide the numerator by the denominator. Example: 5/8 = 5 ÷ 8 = 0.625.
  • Decimal to fraction: Write the decimal as a fraction with a denominator of 10, 100, 1000, etc., then simplify. Example: 0.45 = 45/100 = 9/20.
  • Whole number to fraction: Put the number over 1. Example: 6 = 6/1.
  • Mixed number to improper fraction: Multiply the whole part by the denominator, add the numerator, and keep the denominator. Example: 3 2/5 = (3×5 + 2)/5 = 17/5.
  • Improper fraction to mixed number: Divide the numerator by the denominator. The quotient is the whole part, the remainder over the denominator is the fraction. Example: 17/5 = 3 with remainder 2, so 3 2/5.

Common Mistakes and How to Avoid Them

  • Forgetting to simplify fractions: Always reduce to lowest terms. For example, 4/8 should be simplified to 1/2.
  • Misplacing the decimal point: When multiplying decimals, count the total number of decimal places in both factors. For 0.2 × 0.3, the answer is 0.06 (two decimal places), not 0.6.
  • Adding fractions without a common denominator: You cannot add 1/2 and 1/3 directly; you must convert to sixths first: 3/6 + 2/6 = 5/6.
  • Confusing decimal place value: 0.5 is five tenths, 0.05 is five hundredths. They are not equal.

When to Use Which Form

Choosing the right format depends on the context:

  • Use whole numbers when counting discrete items: number of students, pages, or days.
  • Use fractions when you need exact ratios or are working with units that are commonly divided (like inches or cups).
  • Use decimals for money, metric measurements, and most scientific calculations because they are easier to compute with.

In many real-world situations, you’ll switch between them. For example, a recipe might call for 1/2 cup (fraction), but you might measure it as 0.5 on a digital scale (decimal). Being comfortable with both is essential.

Frequently Asked Questions

Is 0 a whole number?

Yes, 0 is a whole number. Whole numbers include 0 and all positive counting numbers (1, 2, 3, …). Negative numbers are not whole numbers.

What is the difference between a fraction and a decimal?

A fraction is a ratio of two integers (like 3/4), while a decimal is a way of writing a fraction using a decimal point and powers of 10 (like 0.75). Both represent the same value, but decimals are often easier for arithmetic, while fractions can be more exact for repeating values.

Can every decimal be written as a fraction?

Yes, every terminating decimal (like 0.25) and every repeating decimal (like 0.333…) can be written as a fraction. Non-repeating, non-terminating decimals (like π) cannot be written as a simple fraction; they are called irrational numbers.

How do you convert a repeating decimal to a fraction?

Let x equal the decimal. Multiply by a power of 10 to shift the repeating part, then subtract the original equation. For example, x = 0.666… → 10x = 6.666… → 9x = 6 → x = 6/9 = 2/3.

Why do we need both fractions and decimals?

Fractions are exact and intuitive for parts of a whole, while decimals are standardized and easier for calculations, especially with computers and money. Different fields prefer one over the other—carpentry uses fractions of an inch, while science uses decimal metric units.

What is a mixed number?

A mixed number combines a whole number and a proper fraction, like 2 1/3. It is another way to write an improper fraction (7/3). Mixed numbers are common in everyday measurements, like 2 1/2 cups of flour.

Related

Formula used
in a | Number A | - | 3.5 | 0
in b | Number B | - | 2 | 0
out sum | Sum | - | a + b | 2
out diff | Difference | - | a - b | 2
out prod | Product | - | a * b | 2
out quot | Quotient | - | a / b | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.