Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Inline Calcul

panda09panda0969 downloads

Type a calculation ending with = and see the result inline; press Tab to insert it. Supports units, variables, custom functions, LaTeX and function graphs.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

An Obsidian plugin: type a calculation ending with = and the result appears in grey right after it. Press Tab (or click) to insert it into the note.

The power is 5 * 8 / 4 =                 → 10
5 V / 2 kohm =                           → 2.5 mA
100 km/h to m/s =                        → 27.77777778 m / s
$\frac{10}{4} \cdot 3 =$                 → 7.5

The interface is in English, and in French when Obsidian is set to French.

Features

  • Arithmetic: + - * / ^ !, parentheses, mod, and symbols such as × ÷ · − ² ³ √ π.
  • Functions: sqrt, ln, log10, sin/cos/tan…, round, min/max, mean, combinations, gcd… and the constants pi, e, i.
  • Units (powered by mathjs) with prefixes and to conversion: 1/(2*pi*1 kohm*100 nF) = → 1.591549431 kHz.
  • Variables: a line R = 1 kohm defines R for the lines below it.
  • Custom functions: P(U, R) = U^2 / R, then P(5 V, 1 kohm) = → 25 mW.
  • LaTeX: $…=$ with \frac, \sqrt, \cdot, \times, \pi, \sin…
  • Reading view and PDF export: results are shown there too (except for LaTeX calculations).
  • Code blocks, inline code, frontmatter, ==highlights==, <= and >= are ignored.

A calculation must start with a digit, a parenthesis, a function, a constant or a variable you defined. This keeps ordinary words from being read as units.

Graphs

A graph is drawn automatically below each f(x) = … definition (x from -10 to 10). Use the command Toggle graphs under functions to show or hide them.

For several curves or another range, use a graph code block:

```graph
u(t) = 5 V * sin(2*pi*f0*t)
i(t) = u(t) / R
x: 0..40 ms
```
  • One function per line: a definition, the name of a function defined above, or an expression in x.
  • Options: x: a..b [unit], y: a..b, height: 300.
  • Hover the graph for a crosshair with values. Curves with different units get one graph per unit.

Settings

Significant digits · results in reading view · graph under functions · decimal comma (2,5).

Installation

  • BRAT: install BRAT, then "Add beta plugin" → theshiningroastpanda/calcul-inline.
  • Manual: download main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/calcul-inline/, then enable the plugin.

Development

npm install
npm run lint       # Obsidian's ESLint rules
npm test           # calculation engine tests
npm run test:e2e   # browser tests (needs Playwright's Chromium)
npm run build      # produces main.js

To publish a version: update version in manifest.json and package.json, add the line to versions.json and a section to CHANGELOG.md, then create a GitHub release whose tag is that version number. The workflow builds the plugin, attests the files, attaches them and fills in the release notes.

License

MIT

HealthExcellent
ReviewPassed
About
Insert inline calculations by ending an expression with '=' to display the result inline in grey; press Tab or click to insert the value into the note. Calculate with arithmetic, functions, constants, units and variables, define custom functions, render LaTeX expressions and auto-plot f(x) graphs; results also appear in reading view and PDF export (except LaTeX).
MathVisualization
Details
Current version
0.3.3
Last updated
Last week
Created
Last month
Updates
4 releases
Downloads
69
Compatible with
Obsidian 1.8.7+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
panda09panda09
GitHubtheshiningroastpanda
  1. Community
  2. Plugins
  3. Math
  4. Inline Calcul

Related plugins

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

ExcaliBrain

An interactive, structured mind-map of your Obsidian vault.

Latex Suite

Make typesetting LaTeX math as fast as handwriting through snippets, text expansion, and editor enhancements.

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.

Mermaid Tools

Improved Mermaid.js experience: visual toolbar with common elements and more.

Maps

Adds a map layout to bases so you can display notes as an interactive map view.

Numerals

Turn any code block into an advanced calculator. Evaluate math expressions on each line of a code block, including units, currency, and optional TeX rendering.

Extended MathJax

Enable additional MathJax packages and adds a global preamble for MathJax.

Hearth

A beautiful, heavily customizable home screen — dashboard, launchpad, mission control, homescreen, search - all in one. As simple or complex as you need.