Programmer's Calculator

Programmer's Calculator

Powerful command-line calculator. Converts numbers between different number bases (Hex, Dec, Oct, Bin, Exp) and way more.

Programmer's Calculator promo image
What is Programmer's Calculator?

Programmer's Calculator is a Firefox add-on that provides a powerful command-line calculator. It allows users to convert numbers between different number bases and offers additional functions such as web color conversion and graph plotting.

Stats date:
Users: 70 ▼ -2
Rating: 4.71 (7)
Version: 1.3 (Last updated: 2023-01-06)
Creation date: 2019-07-25
Weekly download count: 2
Firefox on Android: No
Manifest version: 2
  • alarms
  • clipboardWrite
  • contextMenus
  • notifications
  • storage
Size: 479.23K
URLs: Website
Risk impact: Low risk impact
Risk likelihood: Low risk likelihood

Other platforms

Not available on Chrome
Not available on Edge


Powerful command-line calculator. Converts numbers between different number bases (Hex, Dec, Oct, Bin, Exp) and way more. It's easy, powerful and extremely convenient. Give it a try! Let me know if you want other functions added.


  • Command line where any combination of digits, functions, units can be entered. Calculator will analyze the expression and show result in all supported number basis. Special commands include 'help' (shows detailed function description), 'clear' (clears history), 'ts' (converts UNIX timestamp to human time), 'color' (performs web color conversion), 'diff' (calculates the difference in between two dates) and 'age' (calculates age in various units).
  • Converts numbers between different number bases (Hex, Dec, Oct, Bin, Exp).
  • Expression parser by math.js. There are hundreds of functions, press F1 for help.
  • Web color conversion supported by chroma.js.
  • Graph plotter supported by dygraphs.
  • Recently used expressions stored into history. History can be reviewed by clicking on history button or by pressing Ctrl+Down.
  • Click on 'Expr' or 'Res' labels copies expression or result to clipboard. Hold Ctrl for copy non-formatted result.
  • Calculator can be activated by pressing Ctrl+Shift+6. Keyboard shortcut can be changed in preferences.
  • Integration with context menu - calculator can be opened with selected text.
The extension is also available for Chrome. Thank you for being interested in Programmer's Calculator. Please submit your suggestions and report issues on support site.

You can contribute by helping translate Programmer's Calculator on Crowdin.

User reviews
More accurate than most calculators on the web. Handles complex math with ease. PEMDAS, no problem.
by Bonez, 2023-11-01
View all user reviews
Risk impact

Programmer's Calculator is relatively safe to use as it requires very minimum permissions.

Risk likelihood

Programmer's Calculator has earned a fairly good reputation and likely can be trusted.

Upgrade to see risk analysis details