Basic Arithmetic Calculator

Basic arithmetic calculator for adding, subtracting, multiplying, and dividing numbers. Supports whole numbers, decimals, negative values, and expression mode with order of operations.

Calculator

two-number mode expression with parentheses negative values order of operations

Example: 7, -3.5, 0.25

Choose the arithmetic operation.

Example: 3, 2.75, -10

whole numbers decimals negatives

How to Use This Calculator

Choose the mode that fits your intent. The Two numbers tab lets you supply two separate values and pick an operation, while the Expression tab evaluates any valid arithmetic expression with standard order of operations.

Methodology

The calculator operates on fundamental arithmetic rules. Two-number mode performs one operation between the chosen values, while expression mode applies the standard PEMDAS/BODMAS ordering.

Order of operations (PEMDAS / BODMAS)

Expressions are evaluated in the default sequence: parentheses, exponents, multiplication/division (left-to-right), and addition/subtraction (left-to-right). This page's expression evaluator mirrors that rule so everyone calculates the same result.

For example: \(7 + 3 \times 2 = 7 + (3 \times 2) = 7 + 6 = 13\), not 20.

Working with negatives and decimals

Negative numbers represent values below zero and decimals represent fractions of a unit. The calculator accepts inputs like \(-3.5\), \(0.25\), or \(12.75\) and applies the sign rules you expect.

Use the calculator to verify classroom work or to double-check quick mental math. Expression mode is especially handy for showing you each operator's precedence.

Full original guide (expanded)

Mental checklist for basic arithmetic

  • Check the signs: are the numbers positive or negative?
  • Estimate first to see if the result is reasonable.
  • Align decimal points when adding or subtracting decimals.
  • Use multiplication as repeated addition to build intuition.
  • Remember: division by zero is not allowed.
Formulas
Formula (extracted LaTeX)

\[7 + 3 \times 2 = 7 + (3 \times 2) = 7 + 6 = 13,\]

7 + 3 × 2 = 7 + (3 × 2) = 7 + 6 = 13,
Formula (extracted LaTeX)

\[','\\\]

','\
Formula (extracted text)
Examples Addition: \( 7 + 3 = 10 \) Subtraction: \( 7 - 3 = 4 \) Multiplication: \( 7 \times 3 = 21 \) Division: \( 21 \div 3 = 7 \)
Variables and units
  • No variables provided in audit spec.
Citations
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Version 0.1.0-draft Verified by Ugo Candido Last Updated 2026-01-19
Version 1.5.0