Math & Statistics Tools

Matrix Calculator

Add, multiply, transpose, row-reduce and invert small matrices using exact rational arithmetic.

Your content stays on your device Free, with no account
Matrix CalculatorLocal calculation · no uploads

Inputs & controls

Display precision does not round inputs or exact calculations. Exact result strings and generated reports retain their stated precision.

Enter values or load the example to begin.

Supported calculations & limits

Rectangular matrices up to 8×8, with integers, decimals or fractions such as 1/3. Newline/semicolon separates rows; whitespace/comma separates cells. Matrix entries have a 32-character limit. Exact arithmetic is bounded to 5,000 numerator/denominator digits. Inverse requires square, full-rank A; multiplication requires compatible dimensions.

Calculation worker deadline: 10 seconds. Results are invalidated on input or setting changes. Reports are limited to 4 MiB. No values are persisted or sent to a server.

YOUR CALCULATION

Result & verification

Calculate to see results, assumptions and supporting rows.

    Report preview · exact generated content
    A FEW SIMPLE STEPS

    How to use Matrix Calculator

    1. Enter values or load the example. Statistics tools can optionally import a local UTF-8 data file; select CSV settings explicitly.
    2. Choose the operation and review its supported scope, exact/approximate arithmetic and assumptions.
    3. Calculate locally. Review the result, supporting rows, distribution where relevant and any undefined or exceptional cases.
    4. Copy the report or download TXT/JSON. Editing inputs invalidates prior results; original files remain unchanged.
    PRIVATE BY DESIGN

    Why use this tool?

    Your numbers, expressions, matrices and optional data files stay on your device. Calculations run in a bounded local worker using self-hosted code, without uploads, accounts or application input history.

    Tool inputs stay in your browser. Only your theme preference is saved on this device.

    A few things worth knowing

    What calculations are supported?

    Rectangular matrices up to 8×8, with integers, decimals or fractions such as 1/3. Newline/semicolon separates rows; whitespace/comma separates cells. Matrix entries have a 32-character limit. Exact arithmetic is bounded to 5,000 numerator/denominator digits. Inverse requires square, full-rank A; multiplication requires compatible dimensions.

    Are results exact?

    Integer, fraction, combinatorial and supported rational algebra operations use exact BigInt rational arithmetic, within explicit resource limits. Scientific functions, descriptive statistics and labeled irrational-root approximations use finite IEEE-754 numbers. Display precision never changes exact inputs, rational decisions or stored data.

    What happens with invalid or undefined input?

    Invalid input, incompatible dimensions, division by zero, unsupported domains or resource limits produce a clear message and clear prior outputs. Undefined sample variance with one observation is labeled explicitly. Reports are available only after a successful complete calculation.

    Are data files uploaded or saved?

    No. Optional Statistics file selection reads UTF-8 locally and shows filename, size and loading/ready/error status. Failed imports preserve previous working text. Manual replacement, sample and clear remove obsolete file selections. Downloads and clipboard copies exist outside the application only when you request them.