Calculator
by Mochi753
Calculator lets players type a math expression into chat with a prefix and receive the evaluated result in the chat window.
What it does
Typing the configured prefix before an arithmetic expression in chat causes the mod to evaluate it and print the answer. Calculations use double precision, so results can carry rounding errors, and the mod is a client-side tool that does not change how the server or other players see the chat.
An optional inline setting can show a multi-line result directly in the chat output, and a set of warning display options controls how the mod reports invalid input. The evaluation is handled by the exp4j library, which is included in the source code under its Apache License 2.0 header. The mod is published for Forge and NeoForge across 19 release versions, 1.20 – 1.21.11, and the source code and issue tracker are public.
Key features
Chat expression evaluation
Arithmetic expressions typed after the chat prefix are calculated and the result is printed back in chat.
Inline result display
A configurable option shows multi-line results inline, which changes how long answers appear in the chat window.
Configurable warnings
Warning messages for invalid or unsupported input can be turned on or adjusted in the settings.
Double precision arithmetic
Values are computed as doubles, so some results show small rounding errors that are inherent to the number format.
Compatibility
Latest build for each game version and loader.
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Who it’s for: Players who want to evaluate math in the chat window while playing Minecraft Java Edition with Forge or NeoForge on versions 1.20 – 1.21.11. Because the mod is client-side only, server owners do not need to install anything to let their players use it.
Questions
Which loaders does Calculator support?
Does the server need Calculator installed?
Are the results exact?
In the catalog
Calculator is one of 36,990 Utility mods on ModsFinder, and one of 14,575 Utility mods for Forge. 19,862 mods support Minecraft 1.21.11.
More from Mochi753
Similar mods
What the author says
Features: - Evaluate arithmetic expressions using double precision. - Optional inline or multi-line result display (configurable). - Client-side only: does not require server installation. - Configurable warnings and display options. Note: This calculator uses double precision. Results may contain rounding errors.
Official listing
- Modrinth page
- modrinth.com/mod/calculator_mochi753
- Owner
- Mochi753
- Published
- 2025-09-03
- Updated on Modrinth
- 2026-02-20
- Facts verified
- 2026-10-15