ModsFinder

Chat Calc

by realrttv

With Chat Calc, a player types a math expression into the chat window and the answer appears above the input before the message is sent.

FabricQuiltClient-side onlyMozilla Public License 2.0Open source1.19 – 1.20.4

What it does

Chat Calc evaluates expressions typed in chat. Typing 1+2 shows a tooltip with 3 above the input, and pressing TAB fills in the result. Adding an equals sign, as in 1+2=, makes the mod place the answer in the text. Expressions are read as blocks separated by spaces, so several calculations can sit in one message, and long expressions with extra spaces still work. Numbers with thousands separators, such as 1,000 2, are accepted, and the value is shown as 2,000 after TAB.

Users can define their own functions and constants. Typing f z 2z-1 creates a function that a later entry like f 4 TAB 7 can call, and c=sqrt 2 2 stores a constant used in expressions such as arcsin c. Functions can take several parameters, separated by semicolons because commas are reserved for number formatting. Entering a name followed by TAB with nothing after it removes that function or constant, and the chat reports the removal. The list of defined functions and constants can be viewed by typing the function list command in chat.

Key features

  1. Inline answers

    Typing an expression shows its value as a tooltip above the chat input, and TAB inserts it.

  2. Custom functions and constants

    Functions with one or more parameters and named constants can be defined in chat and used in later expressions.

  3. Removing definitions

    Entering a name followed by TAB with no value deletes a stored function or constant.

  4. Configurable number format

    Settings control whether trigonometry uses radians or degrees, the decimal format of results and other output options from the chat window.

Compatibility

Latest build for each game version and loader.

1.20.x5 of 5 versions with builds
1.20.43.0.24a3.0.24a
1.20.33.0.24a3.0.24a
1.20.23.0.24a3.0.24a
1.20.13.0.24b3.0.22b
1.203.0.153.0.15
1.19.x5 of 5 versions with builds
1.19.43.0.153.0.15
1.19.33.0.153.0.15
1.19.23.0.153.0.15
1.19.13.0.153.0.15
1.193.0.153.0.15
ReleaseBetaAlphaNot available

This mod also publishes snapshot builds. Snapshots are not shown in the matrix.

Use cases

Quick sums in multiplayer

Players who want an answer without leaving the game can check a calculation in chat and send it when ready.

Reusable formulas

A function defined once, such as one for converting coordinates, can be called repeatedly in the same session.

Who it’s for: Players who run calculations during play, and players who write chat formulas with custom functions and constants.

How it compares

Full comparison

Yet Another Calculator is open source under the Apache License 2.0, covers 1.20 – 1.21.7 and runs on Fabric and Quilt. McCalc is open source under the MIT License, targets only 1.19.1 and runs on Fabric alone. Chat Calc is open source under the Mozilla Public License 2.0, covers 1.19 – 1.20.4 and is client-side only.

ModLoadersGame versionsEnvironmentUpdated
Chat CalcFabric and Quilt1.19 – 1.20.4Client-side only2023-12-17
Yet Another CalculatorFabric and Quilt1.20 – 1.21.7Client-side only2025-07-08
McCalcFabric1.19.1Client-side only2022-08-21

Questions

Does Chat Calc need to be installed on a server?

No. Only the player's game needs it, and servers run without it.

Why are function parameters separated by semicolons?

Commas are used for thousands separators in numbers, so the mod asks for semicolons between parameters.

In the catalog

Chat Calc is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 13,907 mods support Minecraft 1.20.4.

More from realrttv

All projects

Similar mods

What the author says

Note: This is a complete revamp of the mod ChatCalc by Kokeria, which is most likely abandoned. This mod features almost everything you'd need in a calculator, and if you want something to be added, just ask! Firstly, I should clarify how you use ChatCalc, simply type an expression into chat, and it'll show the…
realrttv, on the Modrinth page

Official listing

Owner
realrttv
Published
2022-07-01
Updated on Modrinth
2023-12-17
Facts verified
2026-10-15

Tags