Newon GoogleMake CraftRank a preferred source in Google SearchAdd on Google ›
BurningLayerDDoS and bot protection for your website and Minecraft server See the plans ›CraftRank SitesA free website and store for your server Make yours ›CommunityAsk questions, share builds and find people to play with Join the forum ›
Resources / Plugins / CalcMod

CalcMod

A calculator in your chat with shortcuts designed for Minecraft

PluginsFree1.12 – 26.x
by js802025 · listed from Modrinth
Download ›

Direct download from Modrinth · 3,663,522 downloads

Legal notice

Source and ownership. This page was generated automatically from public data that Modrinth provides through its public API. The name, descriptions, images, trademarks and all other content of this project belong to js802025 and their respective owners. CraftRank is not the author of this project and is not affiliated with, endorsed or sponsored by its author or by Modrinth.

Hosting and distribution. CraftRank does not host, store, upload or distribute the download files of this project, and no such file is kept on CraftRank's servers. Every download is provided directly by Modrinth from its own servers; the Download button only links to the file there. The license stated on Modrinth is MIT.

Use of public APIs. Modrinth, Hangar (PaperMC) and SpigotMC (through the Spiget API) make their APIs publicly available to third-party websites and applications. Modrinth's Terms of Use give API users a license to download, display and query content through their own services (section “API Usage”), and creators who publish on Modrinth grant Modrinth and its licensees the right to display and distribute their content to third parties (section “User Contributions”). CraftRank uses these APIs in line with the platforms' published rules: it identifies itself in every request and respects their rate limits.

No warranty. The information on this page is provided "as is", without any warranty. Downloading and using this project is at your own risk and subject to the license and terms of its author.

Copyright notices (DMCA). Only the copyright owner or someone authorised to act for them may file a notice, and it must come from a person of legal age or from their parent or legal guardian. A valid notice sent to abuse@craftrank.org must contain: the link of this page; the work claimed to be infringed; your full name, postal address, phone number and e-mail; a statement that you believe in good faith that the use is not authorised by the owner, its agent or the law; a statement, under penalty of perjury, that the notice is accurate and that you are the owner or authorised to act for them; and your physical or electronic signature. Incomplete notices are not processed. Valid notices are acted on within 48 hours, with no need to go through Google.

False notices. Anyone who knowingly misrepresents that material is infringing is liable for the damages caused, including costs and attorneys' fees (17 U.S.C. § 512(f)). Notices filed in bad faith or by someone who does not hold the rights are kept on record and will be contested.

CalcMod screenshot 1CalcMod screenshot 2CalcMod screenshot 3

What it does

CalcMod is a plugin for Paper / Spigot servers, made by js802025. A calculator in your chat with shortcuts designed for Minecraft.

It supports Minecraft 1.12 – 26.x. It has been downloaded 3,663,522 times on Modrinth. That puts it at #2 of the 119 chat plugins listed here. The last update came out on Nov 11, 2026.

Supported versions

26.x1.211.201.191.181.171.161.131.12

Release history

CalcMod has had 48 releases on Modrinth since Aug 4, 2022. 14 of them came out in the past year. The newest is 1.6.0+paper.26.3, released on Nov 11, 2026. It is made for Minecraft 26.3. It runs on Paper. The download is 413 KB.

VersionReleasedMinecraftType
1.6.0+paper.26.3Nov 11, 202626.3Release
1.6.0+forge.26.3Nov 11, 202626.3Release
1.6.0+fabric.26.3Sep 17, 202626.3Release
1.5.2+paper.26.2Jul 29, 202626.2Release
1.5.2+neoforge.26.2Jul 14, 202626.2Release

Commands

The commands named on the Modrinth page of CalcMod:

/calc

Latest release on GitHub

CalcMod is open source. Its newest release on GitHub is v 1.1.0, published on Aug 14, 2022.

V 1.1.0

  • Made mod 2,327.63619687% smaller(Removed icu4j dependency)
  • Restructured subcommands into separate class files.
  • Added allaystorage (number of allays needed to sort nonstackable items)
  • Added random
  • Added craft (number of items needed to craft a certain recipe)

Before that: First Release (Aug 5, 2022).

Description from the author on Modrinth

[
](curseforge.com/minecraft/mc-mods/calcmod)

Bring the power of calculation to your Minecraft chat with CalcMod! Enjoy features from simple calculations to advanced tools for optimizing gameplay.

/calc 3+(28/8)^2

/calc craft piston 3 sb

/calc nether ~ ~ ~

Click any green text to copy it to your clipboard!

🔄 Compatibility

CalcMod supports Fabric, Forge, Quilt, Paper, and NeoForge mod loaders, down to Minecraft version 1.12.

CalcMod can be installed on both the client and server, and also works on clients without requiring servers to have the mod (and vice versa.)

✅ Features:

See a few examples in gallery

🔢 Simple Calculator

An intuitive calculator with some handy variables. To see a list of variables run /calc variables.

Supported Operators

Symbol(s) · Syntax · Operation

  • · a+b · Addition

– · a–b · Subtraction

  • , × , ∙ · a*b · Multiplication

/ , : , ÷ · a/b · Division
^ · a^b · Exponentiation (power)
! · n! · Factorial

· a#b · Modulo

% · x% · Percentage
^^ · a^^b · Tetration
√ · √x · Square root
∛ · ∛x · Cube root
∜ · ∜x · Fourth root

CalcMod has some more advanced functions and variables that can be used within expressions in this spreadsheet.

(CalcMod 1.6.0+) A keybind can be set in the vanilla keybinds section to pull up /calc faster.

Usage: ``/calc ``

📦 Storage Utils

When given a rate of items per hour (expressions allowed), returns the minimum number of item sorters needed to sort in time.
Additional input for multiple times hopper speed sorters, and a separate command for Allay based non stackable sorters.

Usage: ``/calc storage ``
Usage: ``/calc storage ``
Usage: ``/calc allaystorage ``

🛠️ Crafting Utils
When given an amount of a recipe to craft (expressions allowed), returns all the items required to craft that quantity of the recipe.

(CalcMod 1.3.2+) The optional depth argument specifies how many levels of recursive crafting to perform on the recipe. Default depth is 1.

Usage: ``/calc craft ``
Usage: ``/calc craft ``

When the craftinv command is given an item, it returns the maximum number of that item the player can craft using their current inventory (including items in shulker boxes).

Usage: ``/calc craftinv ``

(Minecraft 1.21.3+) Due to Minecraft's crafting system updates, CalcMod's craft command can now only use recipes unlocked in the user's recipe book in single player mode.

🌐 Portal Linking Coords

When given a block position, returns the dimension in the command's corresponding coordinates. If no coordinates are given, command assumes current player position.

Usage: ``/calc nether ``
Usage: ``/calc overworld ``

🌾 Farm Rates Calculator

When given an amount of items and a farm run time in seconds (expressions allowed), returns the items per hour of the farm.

Usage: ``/calc rates ``

🎲 Generate Random Number

When given a maximum and/or minimum value, returns a random number between those values (inclusive). If just a maximum value is entered, picks a random number from 0 to the max value (inclusive).

Usage:``/calc random ``
Usage: ``/calc random minmax ``

💪 Comparator Power Level Finder

When given a container and a desired comparator power level (expressions allowed), returns the number of items needed to achieve that power level.

Usage: ``/calc signaltoitems ``

🐷 Piglin Bartering Utils

Calculates the average number of gold ingots needed to barter for a specific quantity of a desired item (togold), or the average number of a desired item received when bartering a specific number of gold ingots (toitem).

Usage: ``/calc barter togold ``
Usage: ``/calc barter toitem ``

🧭 Travel Distance Evaluator

When given two block positions, returns the distance between them. If only one position is given, uses player's location. The 3D mode provides distance including height (y coord).

Usage: ``/calc dist ``
Usage: ``/calc dist ``
Usage: ``/calc dist 3d ``
Usage: ``/calc dist 3d ``

🧮 Custom Functions

Custom functions are reusable commands that perform a specific computation. Custom functions can be run in any number field formatted with the function name and its parameters in parentheses ``functionName(, ...,)``.

Creating a Function:
Custom functions can have any number of parameters, specified in [square] brackets when adding a function.

⚠️ Using any numbers, special characters, or variables in a parameter may result in a broken function.

e.g. ``/calc custom add blockstoingots [numBlocks]*9``

/calc blockstoingots(72)

Usage: ``/calc custom add ``
Usage: ``/calc custom run ``
Usage: ``/calc ()``
Usage: ``/calc custom list``
Usage: ``/calc custom remove ``

➡️ Converters:

Shulker Boxes ↔ Items

When given an amount of full shulker boxes (expressions allowed), returns the number of items they contain, or vice versa.

Usage: ``/calc itemtosb ``
Usage: ``/calc sbtoitem ``

Items ↔ Stacks:

When given an amount of stacks (expressions allowed), returns the number of items in those stacks, or vice versa.

Usage: ``/calc itemtostack ``
Usage: ``/calc stacktoitem ``

Seconds → Hopper Clock Items

When given a time in seconds (expressions allowed) returns the number of items to put in a hopper clock to achieve that time.
Uses formula and hopper clock from hoppertimer.net.

Usage: ``/calc secondstohopperclock ``

Seconds → Repeater Delay

When given a time in seconds (expressions allowed), returns the number of repeaters and their delays to achieve that time.

Usage: ``/calc secondstorepeater ``

❎ Variables

Variables can be used inside commands in any number field. They act as shortcuts instead of having to remember that "a double chest full of 16 stackable items is 864."
If no stack size is given, variables default to the contextualized stack size in each command.

Constant Variables

Name · Value
dub · 3456 (default)
dub64 · 3456
dub16 · 864
dub1 · 54
sb · 1728 (default)
sb64 · 1728
sb16 · 432
sb1 · 27
stack · 64 (default)
stack64 · 64
stack16 · 16
stack1 · 1
min · 60
h · 3600

There are some extra less Minecraft specific variables listed in this spreadsheet

Dynamic Variables
Dynamic variables change depending on an in-game status. These can be particularly useful inside custom functions.

Name · Value
x · player x coord
y · player y coord
z · player z coord
health · player health

Download calcmod!!

Written by js802025. Read it with pictures on Modrinth.

How to install CalcMod

  1. Download the .jar file from Modrinth and put it in the plugins folder of your server.

  2. Restart the server. Avoid /reload, many plugins do not handle it well.

  3. Type /plugins in the console: CalcMod should be listed in green. Its config files are created in the plugins folder on the first start.

Full guide: How to install plugins on a Minecraft server

Compatibility

Minecraft versions
26.x, 1.21, 1.20, 1.19, 1.18, 1.17, 1.16, 1.13, 1.12
Runs on
Fabric, Quilt, Forge, NeoForge
Edition
Java
Needs
Nothing else
License
MIT
Price
Free
Upkeep
Actively updated (Dec 4, 2026)

CalcMod compared with similar ones

ResourceDownloadsVersionsLast updatePrice
CalcModthe one you looked at3.7M1.12 – 26.x23 days agoFree
ChatPluginRemigio075811.8 – 1.21Mar 24, 2026Free
SlimeRanksLxca1,7621.21Dec 13, 2025Free

Questions

Does CalcMod work on Minecraft 26.x?

Yes. CalcMod supports Minecraft 26.x. All supported versions: 26.x, 1.21, 1.20, 1.19, 1.18, 1.17, 1.16, 1.13, 1.12.

Is CalcMod free?

Yes. CalcMod is free to download from Modrinth.

Which server software does CalcMod run on?

CalcMod runs on Fabric, Quilt, Forge and NeoForge servers.

Is CalcMod server-side?

Yes. CalcMod is a server plugin: it goes in the plugins folder of the server, not in the mods folder of a player's game.

Is CalcMod still updated?

Yes. The last update came out in the past day.

Alternatives to CalcMod

SlimeRanksPlugins · 1.21

Design your own Minecraft ranks, shown in tab, chat & above players' heads. Total control, total flex.

Free1,762 downloads

Reviews

–★★★★★
0 reviews
50
40
30
20
10

Log in to leave a review.