Back to mods

Modrinth · Minecraft mod

Calculator

A simple mod that lets you calculate math expressions directly in chat using the @ prefix.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Calculator release should I use?

Updated 9 months ago
Latest stable file 1.1.0-1.21
Game version 1.21, 1.21.1, 1.21.10
Loader NeoForge

Calculator 1.1.0-1.21 targets 1.21, 1.21.1, 1.21.10 with NeoForge. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.

Where it goes

Is Calculator required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does Calculator 1.1.0-1.21 need?

1.1.0-1.21. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Calculator without breaking your instance.

Built for Calculator 1.1.0-1.21. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.1.0-1.21. It targets 1.21, 1.21.1, 1.21.10 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.1.0-1.21. It opens that exact file at the source.

About this project

What does Calculator add?

Calculator Mod

A simple client-side chat calculator.

Overview

Calculator Mod allows you to evaluate mathematical expressions directly from the chat.
Simply start your message with @ followed by a formula, and the result will be displayed in your chat.

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.

Usage

Type a calculation in the chat starting with @


Configuration

The mod provides a client-side configuration file (config/calculator-client.toml) with the following options:

Option Description Default
suppressWarning Suppress a warning on login about possible rounding errors false
resultInline Display calculation results in the same line as input false

Note:
This calculator uses double precision. Results may contain rounding errors.


License

Calculator Mod: MIT License

Third-party libraries:

  • exp4j — Apache License 2.0
    (Source code included with license header preserved)

Project description from Modrinth.

Pick your setup

Calculator by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

19 available setups

Showing the newest 12 of 19 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Calculator versions and loaders

6 of 6 releases match

Looking for an older file? The official Modrinth project page is in Resources.