Decimal Calculator

Calculate with positive or negative decimals, integers and scientific notation, then round the answer to the precision you need.

Decimal calculation

Choose an operation, enter two values and calculate the result.

Enter two values to calculate.

How to use the decimal calculator

Choose an operation, enter values A and B, and select Calculate. You can enter ordinary decimal numbers, negative numbers, whole numbers or scientific notation such as 4.7e-9.

Adding and subtracting decimals

When calculating by hand, line up the decimal points before adding or subtracting. You can add trailing zeroes without changing a value: 12.3, 12.30 and 12.300 are all the same number. For example, 12.300 + 1.719 = 14.019.

Multiplying and dividing decimals

For multiplication, multiply as normal and place the decimal point according to the total number of decimal places in both values. For division, multiply both values by the same power of 10 until the divisor is a whole number, then divide as usual.

Powers, roots and logarithms

An exponent raises A to the power of B. A root finds the number that, when multiplied by itself B times, gives A. A logarithm asks which power B must be raised to in order to give A. Roots and logarithms have some restrictions: a root index cannot be zero, and a logarithm needs a positive value and a positive base other than 1.

Rounding decimal results

Use the rounding option when you need a fixed number of digits after the decimal point. For money, two decimal places are usually appropriate; for measurements, use the precision that suits the source data and purpose.