What this calculator does
The Table Column Arithmetic Calculator takes two numeric columns — column a and column b — entered row by row, and applies a single arithmetic operation to each pair of values. This is element-wise arithmetic: for every row r it computes a[r] OP b[r] and returns a third result column of the same length. It is pure, dimensionless math, so it works with any units you supply and applies everywhere with no regional rules.
How to use it
Paste or type the values of column a (one number per line) and the values of column b (one number per line). Pick the operation you want — addition, subtraction in either direction, multiplication, or division in either direction. Choose how many significant digits to display (6 to 50). The calculator pairs the lines top to bottom, processes only rows where data is present, and shows each result beside its inputs.
The formula
For each row \(r\) from 1 to \(N\) the result is one of:
$$r_i = \text{a}_i + \text{b}_i,\quad r_i = \text{a}_i - \text{b}_i,\quad r_i = \text{b}_i - \text{a}_i,\quad r_i = \text{a}_i \times \text{b}_i,\quad r_i = \frac{\text{a}_i}{\text{b}_i},\quad r_i = \frac{\text{b}_i}{\text{a}_i}$$Division checks the divisor first: \(\frac{\text{a}_i}{\text{b}_i}\) requires \(b \neq 0\) and \(\frac{\text{b}_i}{\text{a}_i}\) requires \(a \neq 0\); otherwise that row is marked undefined. The display-digits setting only rounds what you see, not the underlying value.
Worked example
With column a = [2, 10, 7] and column b = [5, 4, 3] and operation a × b, the result column is
$$[2\times5,\ 10\times4,\ 7\times3] = [10,\ 40,\ 21]$$Switching to a / b gives \([0.4,\ 2.5,\ 2.333333333]\). Switching to b - a gives \([3,\ -6,\ -4]\).
FAQ
Is this a column sum? No. It is row-paired arithmetic (a[i] against b[i] for each row), not a total or reduction of a single column.
What happens on divide by zero? The offending row is reported as undefined rather than crashing the whole table.
Do negatives and decimals work? Yes — both columns accept negative numbers and decimals, and mismatched column lengths are truncated to the shorter column.