ᴍɪɴᴇᴄʀᴀꜰᴛʀᴇꜱᴏᴜʀᴄᴇꜱ

CalcMod

Modrinth

A calculator in your chat with shortcuts designed for Minecraft

3.7M downloads791 followersUpdated 1mo ago

1.6.0+fabric.26.3 · MC 26.3 · Fabric, Quilt

View on Modrinth

Files

  • 1.6.0+fabric.26.3

    release

    CalcMod 1.60 For Fabric 26.3

    26.3fabricquilt

    2026-09-17 · 107.6K downloads

    calcmod-1.6.0+fabric.26.3.jar · 644 KB

  • 1.5.2+paper.26.2

    release

    CalcMod 1.5.2 For Paper 26.2

    26.2paper

    2026-07-29 · 6.5K downloads

    calcmod-1.5.2+paper.26.2.jar · 413 KB

  • 1.5.2+neoforge.26.2

    release

    CalcMod 1.5.2

    26.2neoforge

    2026-07-14 · 675 downloads

    calcmod-1.5.2+neoforge.26.2.jar · 544 KB

  • 1.5.2+forge.26.2

    release

    CalcMod 1.5.2 For Forge 26.2

    26.2forge

    2026-07-14 · 410 downloads

    calcmod-1.5.2+forge.26.2.jar · 525 KB

  • 1.5.2+fabric.26.2

    release

    Calcmod 1.5.2 for 26.2

    26.2fabricquilt

    2026-06-17 · 471.3K downloads

    calcmod-1.5.2+fabric.26.2.jar · 635 KB

  • 1.5.1+paper.26.1

    release

    CalcMod 1.5.1 For Paper 26.1

    26.1.226.1.126.1paper

    2026-05-17 · 4.6K downloads

    calcmod-1.5.1+paper.26.1.2.jar · 413 KB

  • 1.5.1+neoforge.26.1

    release

    CalcMod 1.5.1

    26.1.226.1.126.1neoforge

    2026-05-17 · 532 downloads

    calcmod-1.5.1+neoforge.26.1.2.jar · 544 KB

  • 1.5.1+forge.26.1

    release

    CalcMod 1.5.1

    26.1.2forge

    2026-05-17 · 389 downloads

    calcmod-1.5.1+forge.26.1.2.jar · 525 KB

  • 1.5.1+fabric.26.1

    release

    CalcMod 1.5.1+fabric.26.1

    26.1.226.1.126.1fabricquilt

    2026-05-17 · 76.3K downloads

    calcmod-1.5.1+fabric.26.1.jar · 634 KB

  • 1.5.0+fabric.26.1

    release

    CalcMod 1.5.0 For Fabric 26.1

    26.1.226.1.126.1fabric

    2026-03-28 · 191.8K downloads

    calcmod-1.5.0+fabric.26.1.jar · 624 KB

  • 1.5.0+paper.1.21.9+

    release

    CalcMod 1.5.0 For Paper 1.21.9+

    1.21.111.21.101.21.9paper

    2026-03-10 · 10.3K downloads

    calcmod-1.5.0+paper.1.21.10.jar · 411 KB

  • 1.5.0+fabric.1.21.9+

    release

    CalcMod 1.5.0 For Fabric 1.21.9+

    1.21.111.21.101.21.9fabricquilt

    2026-03-10 · 253.3K downloads

    calcmod-1.5.0+fabric.1.21.9.jar · 621 KB

  • 1.4.3

    release

    CalcMod 1.4.3 for Paper 1.21.9 & 1.21.10

    1.21.101.21.9paper

    2025-10-10 · 8.1K downloads

    calcmod-1.4.3+paper.1.21.10.jar · 406 KB

  • 1.4.3+fabric.1.21.9+

    release

    CalcMod 1.4.3 for Fabric 1.21.9+

    1.21.111.21.101.21.9fabric

    2025-10-10 · 689.5K downloads

    calcmod-1.4.3+fabric.1.21.9.jar · 615 KB

  • 1.4.2

    release

    CalcMod 1.4.2 For Forge 1.21.6

    1.21.6forge

    2025-06-22 · 685 downloads

    calcmod-1.4.2+forge.1.21.6.jar · 518 KB

  • 1.4.2+fabric.1.21.6-1.21.8

    release

    CalcMod 1.4.2+fabric.1.21.6-1.21.8

    1.21.81.21.71.21.6fabricquilt

    2025-06-17 · 167.7K downloads

    calcmod-1.4.2+fabric.1.21.6.jar · 615 KB

  • 1.4.2

    release

    CalcMod 1.4.2 For Paper 1.21.5, 1.21.6 & 1.21.7

    1.21.71.21.61.21.5paper

    2025-06-17 · 3.8K downloads

    calcmod-1.4.2+paper.1.21.5.jar · 406 KB

  • 1.4.2

    release

    CalcMod For Forge 1.21.5

    1.21.5forge

    2025-06-17 · 337 downloads

    calcmod-1.4.2+forge.1.21.5.jar · 518 KB

  • 1.4.2

    release

    CalcMod 1.4.2 For Forge 1.21.4

    1.21.4forge

    2025-06-17 · 457 downloads

    calcmod-1.4.2+forge.1.21.4.jar · 518 KB

  • 1.4.2+fabric.1.21.5

    release

    CalcMod 1.4.2+fabric.1.21.5

    1.21.5fabricquilt

    2025-06-17 · 117.4K downloads

    calcmod-1.4.2+fabric.1.21.5.jar · 615 KB

Files are delivered unmodified from Modrinth's servers and verified against the SHA-512 hash published by the project. The project's license applies to every file; check it before redistributing.

Gallery

Simple SyntaxCraft EasierCalculate Hopper ClocksLink Portals FasterMake Custom FunctionsBarter Better

About

CalcMod Logo GitHub Modrinth CurseForge

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
Basic calculation response
/calc craft piston 3 sb
Craft command response
/calc nether ~ ~ ~
Nether command response

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)SyntaxOperation
+a+bAddition
–a–bSubtraction
* , × , ∙a*bMultiplication
/ , : , ÷a/bDivision
^a^bExponentiation (power)
!n!Factorial
#a#bModulo
%x%Percentage
^^a^^bTetration
√√xSquare root
∛∛xCube root
∜∜xFourth 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 <expression>

📦 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 <itemsPerHour>
Usage: /calc storage <timesHopperSpeed> <numberOfItems>
Usage: /calc allaystorage <itemsPerHour>

🛠️ 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 <item> <amount>
Usage: /calc craft <item> <depth> <amount>

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 <item>

(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 <x> <y> <z>
Usage: /calc overworld <x> <y> <z>

🌾 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 <numberOfItems> <seconds>

🎲 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 <max>
Usage: /calc random minmax <min> <max>

💪 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 <container> <powerLevel>

🐷 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 <numberOfItems> <item>
Usage: /calc barter toitem <amountOfGold> <item>

🧭 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 <x1> <y1> <z1>
Usage: /calc dist <x1> <y1> <z1> <x2> <y2> <z2>
Usage: /calc dist 3d <x1> <y1> <z1>
Usage: /calc dist 3d <x1> <y1> <z1> <x2> <y2> <z2>

🧮 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(<param1>, ...,<paramN>).

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)
Custom function response

Usage: /calc custom add <functionName> <function>
Usage: /calc custom run <functionName> <input>
Usage: /calc <functionName>(<parameters>)
Usage: /calc custom list
Usage: /calc custom remove <functionName>

➡️ 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 <numberOfItems>
Usage: /calc sbtoitem <numberOfSbs>

Items ↔ Stacks:

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

Usage: /calc itemtostack <numberOfItems>
Usage: /calc stacktoitem <numberOfStacks>

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.

Hopper clock

Usage: /calc secondstohopperclock <seconds>

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 <seconds>

❎ 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
NameValue
dub3456 (default)
dub643456
dub16864
dub154
sb1728 (default)
sb641728
sb16432
sb127
stack64 (default)
stack6464
stack1616
stack11
min60
h3600

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.
NameValue
xplayer x coord
yplayer y coord
zplayer z coord
healthplayer health

Download calcmod!!