Advanced maths

Clifford multivector geometric product calculator with metric signature

Multiply multivectors using diagonal signed metric relations and grade decomposition..

Your numbers

Rows on separate lines;comma-separated entries. Exact coefficients may be fractions where stated.
Rows on separate lines;comma-separated entries. Exact coefficients may be fractions where stated.
Rows on separate lines;comma-separated entries. Exact coefficients may be fractions where stated.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Multiply multivectors using diagonal signed metric relations and grade decomposition.

THE FORMULABlade masks encode ordered basis products; The metric fixes the square of each basis vector

A worked example

In the positive three-dimensional example, e1 times e2 equals the grade-two blade e12. Reversing the order changes its sign, while e1 squared returns the first diagonal metric entry. The displayed product combines identical output masks exactly. Its grade decomposition helps distinguish scalar, vector and bivector parts rather than treating all coefficients as independent scalar multiplication.

Good to know

Dimension≤5,diagonal entries−1,0,1,exact rational coefficients;fixed blade order.

Blade masks encode ordered basis products

Each row supplies an integer bit mask and a rational coefficient. Mask zero denotes the scalar identity; mask three denotes the ordered blade e1 e2.

In the positive three-dimensional example, e1 times e2 equals the grade-two blade e12. Reversing the order changes its sign, while e1 squared returns the first diagonal metric entry.

Blade masks encode ordered basis productse1 e2 = +e12e2 e1 = −e12Swapping distinct basis vectorse1²=metric1; repeated indices contract
Scroll across to see the full diagram.
In the positive three-dimensional example, e1 times e2 equals the grade-two blade e12. Reversing the order changes its sign, while e1 squared returns the first diagonal metric entry. The displayed product combines identical output masks exactly. Its grade decomposition helps distinguish scalar, vector and bivector parts rather than treating all coefficients as independent scalar multiplication.

Compare this with the Complex number arithmetic calculator. Complex arithmetic and scalar quaternion symbols do not implement arbitrary multivector blades.

The metric fixes the square of each basis vector

The displayed product combines identical output masks exactly. Its grade decomposition helps distinguish scalar, vector and bivector parts rather than treating all coefficients as independent scalar multiplication.

A basis vector occupies one bit position in a blade mask. The product e1 e3 therefore has mask five, while mask zero is the scalar identity; no decimal digit concatenation is used to describe higher-grade blades.

Swapping distinct basis vectors changes the sign

Canonical blades place basis indices in ascending order. Multiplying two blades requires moving indices back into that order, with one sign reversal for each exchange of distinct orthogonal basis directions.

When an index occurs in both factors, its repeated basis vector is replaced by the corresponding diagonal metric entry. A positive square contributes one, a negative square contributes minus one, and a null direction can annihilate the term.

Repeated directions contract instead of disappearing

The remaining mask is the bitwise exclusive-or of the input masks. This efficiently removes repeated directions, but the mask operation alone is insufficient: the permutation sign and contracted metric factors must also be accumulated.

A multivector is a linear combination of canonical blades. Distributing the product over every input pair and combining equal output masks gives an exact rational coefficient for each surviving blade, including cancellations to zero.

Multivectors combine terms of several grades

The grade of a blade is its number of occupied bits. A product can contain several grades, which is why scalar and bivector components are reported separately instead of describing every geometric product as another vector.

The default e1 times e2 yields the positively oriented e12 blade. Reversing those inputs gives minus e12, while repeating e1 gives the scalar metric coefficient; these three checks isolate order, orientation and contraction.

A zero metric direction can annihilate a repeated product

In a degenerate metric a nonzero vector can square to zero. That property does not justify division by the vector, and the calculator does not attempt a general multivector inverse or silently replace a zero metric entry.

The diagonal metric model assumes orthogonal coordinate directions. A dense bilinear form would introduce additional cross terms and requires a different multiplication implementation, so only the stated signature list is accepted.

Geometric multiplication is generally noncommutative

Coefficients are parsed as exact bounded rationals. The displayed fractions therefore reflect algebraic arithmetic rather than floating tolerances, although the finite dimension and coefficient-growth limits still bound supported computations.

Geometric multiplication is not the exterior product. The former includes contractions and mixed grades, while the latter removes all terms with repeated directions; compare the dedicated exterior-form page when antisymmetric multiplication is intended.

A few questions, answered

What does blade masks encode ordered basis products mean here?

Each row supplies an integer bit mask and a rational coefficient. Mask zero denotes the scalar identity; mask three denotes the ordered blade e1 e2.

What does swapping distinct basis vectors changes the sign mean here?

The displayed product combines identical output masks exactly. Its grade decomposition helps distinguish scalar, vector and bivector parts rather than treating all coefficients as independent scalar multiplication.

What does multivectors combine terms of several grades mean here?

In the positive three-dimensional example, e1 times e2 equals the grade-two blade e12. Reversing the order changes its sign, while e1 squared returns the first diagonal metric entry.

What does geometric multiplication is generally noncommutative mean here?

Each row supplies an integer bit mask and a rational coefficient. Mask zero denotes the scalar identity; mask three denotes the ordered blade e1 e2.

Find your calculator

Start typing to explore the library.