A Markdown editor with a calculator built in

Checked 23 November 2026 against the plugin pages, App Store listings and Apple's guides linked below. Prices are in the currency each maker lists, before tax, and can change. I make Coffee, so read this with that in mind. Coffee isn't affiliated with Obsidian, Joplin, Calca, Markdown+ or Apple.

Markdown has no notation for sums, so a calculator in a Markdown editor is always something the editor adds. In Obsidian, a plugin such as Numerals or Solve does it. In Joplin, the Math Mode plugin. Calca is a Markdown editor built around a calculator. Apple Notes does sums and can export Markdown, but isn't a Markdown editor. And Coffee, the Markdown editor for Mac, answers plain-word sums on any line without a plugin.

The question that separates them is where the answer goes: into your file, or only on screen.

I make Coffee, so weigh what I say about it. Everything about the others comes from their own pages. If you want a dedicated calculator app rather than an editor, see Soulver alternatives instead.

Why it matters where the answer goes

A Markdown note is a text file. If the editor writes = 60 into it, that answer is now text: any other app shows it, but it no longer changes when the numbers above it do. If the editor only draws the answer on screen, the file stays exactly as you typed it, and another app shows the question without the answer. Neither is wrong. It's worth knowing which one you're getting before your budget depends on it.

The other difference is syntax. Some tools want a special code block, some a marker at the start or end of a line, and some read plain lines.

Obsidian plugins

Obsidian is free, and its community plugins are where its calculators live. Three worth knowing:

Numerals turns a math code block into a calculator, evaluating each line, with units and optional TeX rendering. Its repository shows inline sums with a prefix, such as #: for the answer alone, results beside or below the line, variables, and values from front matter. It uses mathjs and is under the MIT licence. Currencies work as units: its page says it doesn't fetch exchange rates or convert between currencies. Answers are written into the note only if you ask with a label. About 76,000 downloads, desktop and mobile.

Solve calls itself "a calculator built into your notes". It works out each line as you type, with the answer beside it: arithmetic, dates, percentages, units, currency, dice and conditions. It doesn't write answers into the file unless you click one, which puts it into the line as text. About 29,000 downloads, desktop and mobile.

Note Calc is the simplest: a line ending in =, such as 2*3=, shows its answer, without changing the Markdown. It does arithmetic, with powers, remainders and brackets, and shows answers in Live Preview and Reading view, not in Source mode. It's new, with about 2,000 downloads.

Pick one of these if your notes are already in Obsidian. Read each plugin's page first, since they differ in syntax and in what they write into the file.

Joplin with Math Mode

Joplin is an open-source notes app for Mac, Windows, Linux, Android and iOS. Its Math Mode plugin reads math code blocks, or single lines starting with =, such as = 5cm + 0.2 m in inch. It's built on mathjs, so it does symbolic maths, vectors and units. Results appear below each line by default, or on the same line with a setting. Its page doesn't say whether results are saved into the note.

Calca

Calca is the oldest idea here: its App Store listing calls it a Markdown text editor, with calculations stored as plain text. It's a symbolic calculator that updates as you type, good at solving for unknowns and working with matrices. $9.99 on the Mac App Store, needing macOS 12 or later, and also on iPhone, iPad and Windows.

Markdown+

Markdown+ Text & Code Editor is $9.99 once, for Mac, iPhone, iPad and Apple Vision, needing macOS 14.6 or later. Its listing says variables can evaluate or chain maths expressions inside your document, with a built-in function library, such as sin(90)+cos(80). It doesn't show how answers appear or whether they go into the file, so try it before you rely on it.

Apple Notes

Apple Notes isn't a Markdown editor, but it's on every Mac and does sums. Type an expression and an equals sign, such as 47x96=. Variables work, such as Lunch=25, as long as they come above or to the left. By default the answer is suggested and goes in when you press Return, after which it's part of the note's text. Notes can also export a note as Markdown, with File › Export To.

Coffee

This is the one I make. In Coffee, any line in any note can be a sum, with nothing to install and no special block. You write it the way you'd say it:

rent = 900
rent * 12
20% of 50
sqrt 16
1200 + 20%

The answer appears beside each line as you type. Change rent and every answer that uses it follows. A line of total adds up the lines above it, and average, count, median, min and max work the same way. Currencies convert at the latest rate, such as $30 in EUR, and units too, such as 5 km in miles. There's more on the notes calculator page.

The answer never goes into the file. Your Markdown stays as you typed it. Exporting to PDF, Word or HTML writes the answers in. A Markdown, Text or LaTeX export keeps the sums as written. Edit › Copy with Answers (⌥⌘C) copies the selected lines with each answer written in, for an email.

Ordinary writing is left alone. A line is either understood completely or left alone, so a sentence with a number in it gets no answer. Dates like 05/11/2026, ranges like 2-3 days and phone numbers stay quiet, and headings and table rows are skipped.

Sums work on iPhone and iPad too. Everything is worked out on the device except currencies, which fetch rates from Coinbase in a request that carries nothing about the note.

  • Price: 14 days free with no card or account, then €3 a month, €29 a year, or €79 once with two years of updates. One purchase covers Mac, iPhone and iPad.
  • Platforms: Mac (macOS 15 or later), iPhone and iPad.
  • Your sums: Ordinary .md files in a folder you choose, with no answers stored in them.

Where others are better: Calca and Math Mode do symbolic maths, which Coffee doesn't, and Obsidian and Joplin run on Windows, Linux and Android, which Coffee doesn't.

At a glance

ToolPriceHow you write a sumAnswer written into the file?
Numerals for ObsidianFreemath block, or a #: prefixOnly with a label
Solve for ObsidianFreePlain linesOnly if you click it
Note Calc for ObsidianFreeA line ending in =No
Math Mode for JoplinFreemath block, or a line starting with =Not stated
Calca$9.99Plain linesStored as plain text
Markdown+$9.99Variables in the documentNot stated
Apple NotesComes with your MacAn expression ending in =Yes, when inserted
Coffee€3 a month, €29 a year or €79 oncePlain words on any lineNo, never

Which to pick

  • Your notes are in Obsidian: Solve for plain lines, Numerals for blocks and units.
  • You use Joplin: Math Mode.
  • You solve equations: Calca.
  • Your notes are in Apple Notes: Math Notes, already there.
  • You want sums on any line of plain Markdown files, on Mac, iPhone and iPad, with nothing to install: Coffee.

For worked examples, see a monthly budget in plain text or a timesheet in plain text.

Questions

Does Markdown support calculations?

No. Markdown has no notation for sums, so whatever you write is only worked out if your editor or a plugin does it.

Can Obsidian do calculations?

With a community plugin. Numerals uses math code blocks, Solve works on plain lines as you type, and Note Calc answers lines ending in =.

Does Coffee write answers into my Markdown files?

No. Answers are drawn beside the line and never written to the file. PDF, Word and HTML exports write them in, and Copy with Answers puts them in copied text.

Does Coffee need a plugin for sums?

No. Any line in any note can be a sum, with nothing to install. You can turn calculations off in Settings on the Mac.

Do these work on iPhone?

Numerals, Solve and Note Calc list mobile support, Calca and Markdown+ have iPhone apps, and Coffee's sums work on iPhone and iPad too.