Large Sum Calculator

Add huge integers and decimals of any length exactly, with carries, e-notation and number names.

  1. Enter valuesUse your own inputs or an example
  2. CalculateApply your selected settings
  3. View resultExplore the answer and explanation

Enter large numbers

Enter your values below to get started.

Examples:
Commas, spaces and underscores inside a number are ignored. Decimals and negatives are allowed.
Show the sum as
Reset restores the default values.

Tips for this calculator

Put each number on its own line: commas are read as thousands separators, not as list separators.

Above 253 = 9,007,199,254,740,992, spreadsheets and phone calculators round integers; this calculator does not.

E-notation is expanded exactly: 6.022e23 becomes 602,200,000,000,000,000,000,000.

Names use the short scale (billion = 109) used in the US and UK.

A large sum calculator adds numbers too long for an ordinary calculator, keeping every digit: 98,765,432,109,876,543,210,987,654,321 + 12,345,678,901,234,567,890,123,456,789 = 111,111,111,011,111,111,101,111,111,110. Paste up to 5,000 integers or decimals with up to 200,000 digits each, or in e-notation such as 6.022e23, to get the exact sum, its digit count, scientific notation, short-scale name and a column-by-column carry table.

What is a Large Sum?

A large sum is the total of numbers with more digits than a standard calculator or spreadsheet can store exactly, usually more than 15 or 16 significant digits. The sum 99,999,999,999,999,999,999 + 1 = 100,000,000,000,000,000,000 (1020, 100 quintillion) needs 21 digits.

∑i=1nai,ai with up to 200,000 digits\sum_{i=1}^{n} a_i, \quad a_i \text{ with up to } 200{,}000 \text{ digits}

Ordinary software stores numbers as 64-bit IEEE 754 doubles with a 53-bit significand, so every integer is exact only up to 253 = 9,007,199,254,740,992. Microsoft Excel shows at most 15 significant digits and turns the 16th digit and beyond into zeros. Arbitrary-precision arithmetic (bignum arithmetic) stores as many digits as the number needs.

InteractiveHow many digits? From thousands to a googol

How Does the Large Sum Calculator Work?

The large sum calculator reads each number as a string of digits, converts the string into an arbitrary-precision integer (JavaScript BigInt), adds the integers and prints the result digit by digit. Decimals are scaled by a power of 10 first, so 0.123 and 1.5 become 123 and 1,500 thousandths before adding.

InteractiveWatch carries ripple through a long sum
  1. Parse exactly

    Separators are removed and e-notation is expanded: 1.5e30 becomes 1 followed by 5 and 29 zeros.

  2. Align

    Numbers are padded to the same length so units, tens and hundreds line up.

  3. Add with carries

    Columns are added right to left; each carry moves 1 (or more) into the next column.

  4. Report

    The sum, its digit count, scientific notation, short-scale name and the carry table.

Large Sum Formula

The large sum formula is ordinary column addition: in column i, the written digit is si mod 10 and the carry is ⌊si / 10⌋, where si is the column's digit total plus the incoming carry. Big-number libraries apply the same rule to chunks (limbs) of several digits at once.

Column Rule in Base 10

si=∑jdj,i+cis_i = \sum_{j} d_{j,i} + c_{i}
ri=si mod 10,ci+1=⌊si10⌋r_i = s_i \bmod 10, \quad c_{i+1} = \left\lfloor \frac{s_i}{10} \right\rfloor

Limb Rule in Base 10ᵏ

Li=(Ai+Bi+ci) mod 10kL_i = (A_i + B_i + c_i) \bmod 10^{k}

GMP (the GNU Multiple Precision Arithmetic Library) uses 64-bit limbs, about 19 decimal digits per addition.

Digits of a Sum

#(a+b)≤max⁡(#a,#b)+1\#(a + b) \le \max(\#a, \#b) + 1

Adding n numbers with at most d digits gives at most d + ⌈log10 n⌉ digits.

InteractiveAdd in limbs of 1, 3 or 6 digits

Ways to Write a Large Sum

There are 6 common ways to write a large sum: standard digits, scientific notation, engineering notation, E-notation, short-scale names and long-scale names. 602,214,076,000,000,000,000,000 is 6.02214076 × 1023, 602.214076 × 1021, 6.02214076e23, 602.214 sextillion (short scale) and 602.214 trilliard (long scale).

InteractiveOne large number in 6 notations

Standard

Every digit, grouped in threes: 602,214,076,000,000,000,000,000.

Scientific notation

One digit before the point times a power of 10: 6.02214076 × 10²³.

Engineering notation

Powers of 10 that are multiples of 3: 602.214076 × 10²¹.

E-notation

Used by calculators and code: 6.02214076e23.

Short scale

US and UK names: each new name is 1,000 times the last (million, billion, trillion).

Long scale

Used in much of continental Europe: billion = 10¹², milliard = 10⁹.

How to Add Large Numbers by Hand

To add large numbers by hand, split each number into groups of 3 digits, add the groups from right to left and carry 1 whenever a group total reaches 1,000. Here is F(100) + F(101), the 100th and 101st Fibonacci numbers:

  1. Write the groups: 354 | 224 | 848 | 179 | 261 | 915 | 075 and 573 | 147 | 844 | 013 | 817 | 084 | 101.
  2. Right group: 075 + 101 = 176.
  3. 915 + 084 = 999; 261 + 817 = 1,078, write 078, carry 1.
  4. 179 + 013 + 1 = 193; 848 + 844 = 1,692, write 692, carry 1.
  5. 224 + 147 + 1 = 372; 354 + 573 = 927.
  6. Result: 927,372,692,193,078,999,176 = F(102).
InteractiveStep through large sums by hand

    Why Ordinary Calculators Get Large Sums Wrong

    Ordinary calculators get large sums wrong after about 15 to 16 significant digits, since a 64-bit double has room for only 53 binary digits of precision. A 64-bit double cannot hold 9,007,199,254,740,993 at all and rounds it to 9,007,199,254,740,992, so the error appears before any addition starts.

    • Microsoft Excel: keeps 15 significant digits; a 16-digit credit card number typed as a number loses its last digit.
    • JavaScript Number and Python float: exact for integers up to 253.
    • Arbitrary precision: Python int, JavaScript BigInt, Java BigInteger and GMP keep every digit.
    Interactive64-bit double vs exact BigInt

    Common Mistakes with Large Sums

    • Misaligned columns: a missing group of zeros shifts every digit by 3 places, a factor of 1,000.
    • Pasting a number with commas into a comma-separated list: 1,000,000 becomes 3 numbers; put each number on its own line.
    • Trusting a spreadsheet beyond 15 digits: the extra digits are silently replaced by zeros.
    • Mixing short and long scale: "1 billion" is 109 in the US and UK but 1012 in the long scale.
    • Dropping the final carry: 999 + 1 = 1,000 has 4 digits, not 3.
    InteractiveTrue or false: large sums
    1. 99,999,999,999,999,999,999 + 1 has 21 digits.

    2. A 64-bit double stores every 17-digit integer exactly.

    3. The sum of two 30-digit numbers can have at most 31 digits.

    4. 1 billion means 10¹² in every country.

    5. 6.022e23 + 6.022e23 = 1.2044e24.

    Score: 0 / 5

    How to Use the Large Sum Calculator

    Paste the numbers one per line, choose how to show the sum and press Calculate. The result card gives the exact sum with its digit count, scientific notation, short-scale name, number of carries and longest carry chain; the tabs show the steps, a chart of digit counts and the column-by-column carry table.

    InteractiveLoad a ready-made large sum

    Each button fills the calculator and runs it.

    1. Paste the numbers

      One per line, or separated by + or ;. Commas inside a number are thousands separators.

    2. Use e-notation if you like

      Type 6.022e23 or 1.5E30; the calculator expands every digit.

    3. Pick the format

      Grouped digits, plain digits, scientific notation or a short-scale name.

    4. Copy the exact sum

      The Copy button copies all digits without separators.

    Real-Life Uses of Large Sums

    Large sums appear in cryptography, science, finance and combinatorics, wherever totals pass 16 digits. There are 5 common uses:

    • Cryptography: RSA (Rivest–Shamir–Adleman) keys use integers of 2,048 bits, about 617 decimal digits.
    • Chemistry: counts of molecules use the Avogadro constant, 6.02214076 × 1023 per mole (fixed in the 2019 SI redefinition).
    • Finance in smallest units: national budgets in cents or crypto balances in satoshis (108 per bitcoin) and wei (1018 per ether).
    • Combinatorics: 1! + 2! + … + 20! = 2,561,327,494,111,820,313, a 19-digit total.
    • Astronomy: distances in metres or kilometres (km), such as 1 light-year = 9,460,730,472,580,800 m.
    Interactive1! + 2! + … + n!: exact sums that outgrow doubles

    Large Sum Examples

    Exact large sums with their digit counts.

    Large Sum Examples
    SumExact resultDigitsCalculator
    99,999,999,999,999,999,999 + 1100,000,000,000,000,000,00021
    F(100) + F(101)927,372,692,193,078,999,17621
    (2⁶⁴ − 1) + 118,446,744,073,709,551,61620
    Two 29-digit numbers111,111,111,011,111,111,101,111,111,11030
    6.022e23 + 6.022e231,204,400,000,000,000,000,000,00025
    1.5e30 + 2.25e29 + 7e281.795 × 10³⁰31
    10¹⁰⁰ + 11 followed by 99 zeros and a 1101

    Popular Large Sum Problems

    Try each one, then reveal the answer or solve it in the calculator.

    1. Add 98,765,432,109,876,543,210,987,654,321 and 12,345,678,901,234,567,890,123,456,789.

      Show answer111,111,111,011,111,111,101,111,111,110
    2. Add 1 to 99,999,999,999,999,999,999 (20 nines).

      Show answer100,000,000,000,000,000,000 = 100 quintillion
    3. Add the Fibonacci numbers F(100) = 354,224,848,179,261,915,075 and F(101) = 573,147,844,013,817,084,101.

      Show answer927,372,692,193,078,999,176 = F(102)
    4. Add 2¹²⁸ and 2⁶⁴.

      Show answer340,282,366,920,938,463,481,821,351,505,477,763,072
    5. Add 9,007,199,254,740,993 and 1 exactly.

      Show answer9,007,199,254,740,994
    6. Add 1.5 × 10³⁰, 2.25 × 10²⁹ and 7 × 10²⁸ and name the result.

      Show answer1.795 × 10³⁰ = 1.795 nonillion

    Explore More Sum Calculators

    Discover 67 free sum calculators across different categories. Find the right calculator for your needs.

    Browse All 67 Calculators
    Questions and answers

    Frequently Asked Questions

    What is a large sum calculator?

    A large sum calculator is an online tool that adds numbers with more digits than a normal calculator can hold, keeping every digit exact. This calculator adds up to 5,000 numbers with up to 200,000 digits each.

    How many digits can a normal calculator add exactly?

    A normal calculator or spreadsheet adds about 15 to 16 significant digits exactly. Integers are exact only up to 2<sup>53</sup> = 9,007,199,254,740,992 in 64-bit floating point.

    How do you add very large numbers by hand?

    Split each number into groups of 3 digits from the right, add the groups right to left, and carry 1 to the next group whenever a group total reaches 1,000.

    Can the large sum calculator add decimals?

    Yes, the calculator adds large decimals exactly: 123,456,789,012,345,678,901,234,567,890.123 + (−0.123) = 123,456,789,012,345,678,901,234,567,890.

    Does the calculator accept scientific notation?

    Yes, the calculator accepts e-notation such as 6.022e23 or 1.5E30 and expands each number to all its digits before adding.

    What is 99,999,999,999,999,999,999 + 1?

    99,999,999,999,999,999,999 + 1 = 100,000,000,000,000,000,000, which is 10<sup>20</sup> or 100 quintillion.

    What is the largest number with a name?

    Common short-scale names run to vigintillion (10<sup>63</sup>); a googol is 10<sup>100</sup> and a centillion is 10<sup>303</sup>. Larger numbers are written in scientific notation.

    Why does Excel change the last digits of large numbers to zero?

    Excel stores numbers with 15 significant digits of precision, so digits 16 onward become zeros. Store long numbers as text, or use this calculator, to keep every digit.

    How many digits can the sum of two numbers have?

    The sum of two numbers has at most 1 more digit than the longer number. Two 29-digit numbers add to at most 30 digits.

    Conclusion

    A large sum adds numbers beyond the 15–16 digits that ordinary calculators keep, and the large sum calculator returns every digit exactly with arbitrary-precision BigInt arithmetic. Paste the numbers one per line, read the carries column by column and copy the exact total.

    Not sure which tool fits your numbers? Answer 2 questions below.

    InteractiveDo you need the large sum calculator?