Open-Source Mathematical Computation Engine
Calcora is an open-source platform for symbolic and numerical computation with step-by-step explanations. Unlike black-box calculators, Calcora shows every step of the reasoning process, making it perfect for learning calculus, linear algebra, and symbolic mathematics. The core differentiator is explainability: every result is backed by a deterministic reasoning DAG (Directed Acyclic Graph) of steps.
Watch Calcora in Action
See step-by-step differentiation and matrix operations with detailed explanations
No installation required • Works in browser • Test with your own expressions
Why Choose Calcora for Math Computation
- Offline & private: All computation stays on your machine - no cloud dependency, no data collection.
- Private: Your mathematical expressions and data never leave your computer.
- Step-by-step explanations: Learn how solutions are derived, not just get final answers.
- Extensible: Plugin architecture supports custom rules, solvers, and renderers.
- Free forever: MIT licensed, completely open-source, no subscriptions or paywalls.
Mathematical Operations & Features
Calculus - Differentiation
- Automatic differentiation with chain rule, product rule, power rule
- Trigonometric functions: sin, cos, tan, sec, csc, cot
- Exponential and logarithmic functions
- Inverse trigonometric functions
- Symbolic variable support
Linear Algebra - Matrix Operations
- Matrix determinants (2×2, 3×3, and general matrices)
- Matrix inverse computation
- Matrix multiplication with step-by-step explanation
- Row Reduced Echelon Form (RREF)
- Eigenvalues and eigenvectors
- LU decomposition
- Symbolic matrices: Use variables like [[a,b],[c,d]] instead of just numbers
Developer Features
- Command-line interface (CLI) for automation
- Python API for integration into your applications
- HTTP REST API for web services
- Plugin system for extending functionality
- JSON export of reasoning steps
Installation
Python (development)
python -m pip install -e ".[engine-sympy,cli,api,dev]"
CLI
calcora differentiate "sin(x**2)" --verbosity detailed --format text
Docker (planned)
Docker deployment is part of the public roadmap; the repository will ship Compose-based self-hosting.
Examples
Differentiate a function (step-by-step):
python -m calcora differentiate "sin(x**2)" --verbosity detailed --format text
Export the reasoning DAG as JSON:
python -m calcora differentiate "sin(x**2)" --format json
Roadmap
Calcora is built in versions (v0.1 → v0.5):
- v0.1: scaffolding + baseline step DAG
- v0.2: explainability engine (rule tags, verbosity, validation)
- v0.3: linear algebra + graph theory (Gaussian elimination, BFS/DFS/Dijkstra, Laplacians)
- v0.4: stable plugin SDK and community plugins
- v0.5: visualization + classroom mode
Full details are in ROADMAP.md.