Integer Calculator

Written by:
PK

Use this integer calculator to add, subtract, multiply, or divide two whole numbers. Results truncate any decimal portion to give you an integer result.

Integer calculator

Using the calculator

Enter two integers in the Number 1 and Number 2 fields. Select your operation from the Operation dropdown: addition, subtraction, multiplication, or division.

Results calculate instantly, with conversions to binary, octal, and hexadecimal shown below. For division, any remainder is truncated to give you a whole number result.

What is an integer?

An integer is any whole number, positive or negative, including zero. Unlike floating-point numbers, integers have no decimal component.

Related calculators

      

PK

PK started DQYDJ in 2009 to research and discuss finance and investing and help answer financial questions. He's expanded DQYDJ to build visualizations, calculators, and interactive tools.

PK lives in New Hampshire with his wife, kids, and dog.

Don't Quit Your Day Job...

DQYDJ may be compensated by our partners if you make purchases through links. See our disclosures page. As an Amazon Associate we earn from qualifying purchases.
Sign Up For Emails
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram