Description
# 🧮Not Enough Calculator
[](https://modrinth.com/mod/notenoughcalculator)
[](https://www.curseforge.com/minecraft/mc-mods/notenoughcalculator)
[](https://github.com/Rijzzz/NotEnoughCalculator/releases)
[](https://github.com/Rijzzz/NotEnoughCalculator/releases)
[](https://discord.com/invite/1389631948359598220)
[](https://github.com/Rijzzz/NotEnoughCalculator/blob/26.x-26.x.x/LICENSE.txt)
**A powerful calculator mod that brings NEU-style calculator functionality to Roughly Enough Items (REI).**
> Inspired by [NotEnoughUpdates's](https://modrinth.com/mod/notenoughupdates) calculator, recreated for newer Minecraft versions where NEU isn't available.


---
## What does this mod do?
Type calculations directly in the REI search bar and get instant results! Perfect for Hypixel Skyblock players who miss the NEU calculator.
**Example:** Type `100m - 50m` in the REI search → See `= 50,000,000` instantly
---
## Key Features
Basic Math & Functions
- Addition, subtraction, multiplication, division (`+`, `-`, `*` or `x, X`, `/`)
- Exponents and modulo (`^`, `%`)
- Factorial: `5!` = 120, `10!` = 3,628,800
- Number Literals: Binary (`0b1010` = 10), Hexadecimal (`0xFF` = 255), Octal (`0o77` = 63)
- Implicit multiplication: `2(3+4)`, `(3)(4)`, `2sqrt(4)`, `10k(2+3)`
- Smart percentage calculations: `10%` = 0.1, `100 + 10%` = 110, `200 - 25%` = 150
- Constants: `pi` (3.14159...), `e` (2.71828... standalone, enchanted unit after a number)
- Expanded functions: `sqrt()`, `abs()`, `floor()`, `ceil()`, `round()`, `log()`, `ln()`, `sin()`, `cos()`, `tan()`, `min(a,b)`, `max(a,b)`
Hypixel Skyblock Units
- Currency: `k`, `m`, `b`, `t` (thousand, million, billion, trillion)
- Items: `s` (stack = 64), `e` (enchanted = 160)
- Storage: `h` (shulker = 1,728), `sc` (small chest = 1,728), `dc` (double chest = 3,456), `eb` (ender chest = 2,880)
Variables
- `ans` -- Automatically stores last calculation result
- `pi` -- Pi constant (3.14159265...)
- `e` -- Euler's number (2.71828182...) when standalone; enchanted unit (160) after a number
- Custom variables with `/calcset` command
- Chain calculations easily with `ans`
History & Shortcuts
- Press `Ctrl+Z` / `Cmd+Z` in REI search to recall previous calculations (undo)
- Press `Ctrl+Y` / `Cmd+Y` to redo/go forward in history
- Press `Ctrl+C` / `Cmd+C` in REI search to copy unformatted calculation result directly to system clipboard
- Full Numpad Enter support (`GLFW_KEY_KP_ENTER`)
- View full history with `/calchist` (shows last 15 entries)
- Session-based: History clears automatically when you leave a world/server
Customization & UI
- Open native in-game settings GUI screen via `/calcconfig` or ModMenu
- Configurable decimal precision (default: 10 digits)
- 100% arbitrary precision for 30+ digit numbers with zero floating-point loss
- Scissor bounds clipping & dynamic horizontal scrolling for long expressions
- Auto-expanding floating result box with smooth ping-pong marquee scrolling for long overflow numbers
---
**Dependencies (Required):**
- [Fabric API](https://modrinth.com/mod/fabric-api) (>=0.152.1)
- [Roughly Enough Items (REI)](https://modrinth.com/mod/rei) (>=26.2.820)
**Dependencies (Optional / Recommended):**
- [ModMenu](https://modrinth.com/mod/modmenu) (>=20.0.0)
---
**How to Install:**
1. Download the required mods and place them into your Minecraft `mods/` folder:
- [Fabric API](https://modrinth.com/mod/fabric-api)
- [Roughly Enough Items (REI)](https://modrinth.com/mod/rei)
- [ModMenu](https://modrinth.com/mod/modmenu) *(Optional)*
- **Not Enough Calculator** (this mod)
2. Launch Minecraft using the Fabric loader
3. Press your inventory key to open REI
4. Start typing calculations directly into the REI search bar
---
Examples
### Auction House & Trading
```
100m - 75m = 25,000,000 (profit calculation)
100m * 0.05 = 5,000,000 (5% auction tax)
50m * 1.1 = 55,000,000 (10% markup)
(100m - 60m) * 0.95 = 38,000,000 (profit after tax)
1b / 100 = 10,000,000 (price per item)
250m + 150m + 75m = 475,000,000 (total spending)
```
### Inventory & Storage Management
```
640 / 64 = 10 (stacks needed)
5s * 2 = 640 (10 stacks)
3h = 5,184 (3 shulkers total items)
2dc + 5sc = 15,552 (storage capacity)
10000 / 64 = 156.25 (156 stacks + 16 items)
27s = 1,728 (full shulker)
```
### Crafting & Resources
```
160 * 5 = 800 (5 enchanted = 800 items)
5e * 3 = 2,400 (crafting cost)
64 * 27 = 1,728 (shulker capacity)
1728 / 160 = 10.8 (enchanted items per shulker)
9 * 160 = 1,440 (enchanted block crafting)
```
### Mining & Farming
```
500 + 300 + 200 = 1,000 (total ores mined)
1000 / 3 = 333.33 (average per hour)
dc / 333 = 10.38 (hours to fill double chest)
64 * 100 = 6,400 (100 stacks)
6400 / 160 = 40 (enchanted items)
```
### Money & Profits
```
1000m - 800m = 200,000,000 (200m profit)
500m * 0.20 = 100,000,000 (20% profit margin)
(1000m - 500m) / 500m = 1 (100% ROI)
100m * 2.5 = 250,000,000 (2.5x flip)
50m * 30 = 1,500,000,000 (bulk buying)
```
### Advanced Math & Trigonometry
```
sqrt(144) = 12 (square root)
2^10 = 1,024 (exponents)
100 % 7 = 2 (modulo)
5! = 120 (factorial)
10! = 3,628,800 (large factorial)
abs(-50) = 50 (absolute value)
floor(3.9) = 3 (round down)
ceil(3.1) = 4 (round up)
round(3.5) = 4 (round nearest)
log(100) = 2 (base-10 logarithm)
ln(e) = 1 (natural logarithm)
sin(90) = 1 (sine in degrees)
cos(0) = 1 (cosine in degrees)
tan(45) = 1 (tangent in degrees)
min(10k, 5m) = 10,000 (minimum of values)
max(10k, 5m) = 5,000,000 (maximum of values)
pi * 2 = 6.283... (using pi constant)
e^2 = 7.389... (using Euler's number)
0b1010 = 10 (binary literal)
0xFF = 255 (hexadecimal literal)
0o77 = 63 (octal literal)
0b10 + 0xA = 12 (arithmetic with literals)
```
### Implicit Multiplication & Smart Percentage
```
2(3+4) = 14 (implicit multiplication)
(3)(4) = 12 (nested parentheses)
2sqrt(144) = 24 (implicit math function)
10k(2+3) = 50,000 (implicit unit multiplication)
10% = 0.1 (standalone percentage)
100 + 10% = 110 (add 10% of 100)
200 - 25% = 150 (subtract 25% of 200)
```
### Compound Calculations
```
100m * (1.05 ^ 10) = 162,889,462.68 (10 weeks compound)
(50 + 25) * 1000 = 75,000 (grouped operations)
(sqrt(2500) + abs(-100)) / 2 = 75 (complex formula)
((100 + 50) * 2) - 50 = 250 (nested parentheses)
```
### Price Per Item
```
1b / 1000 = 1,000,000 (price per unit)
500m / 64 = 7,812,500 (price per stack)
100m / 160 = 625,000 (price per enchanted)
50m / 27 = 1,851,851.85 (price per slot)
```
### Material Conversions
```
160 * 64 = 10,240 (1 stack enchanted blocks)
9 * 9 * 160 = 12,960 (1 enchanted block breakdown)
64 * 64 = 4,096 (double compressed)
1728 / 64 = 27 (stacks per shulker)
```
### Business & Investment
```
1000m * 0.02 = 20,000,000 (2% daily interest)
20m * 365 = 7,300,000,000 (yearly earnings)
(1000m + 200m) / 2 = 600,000,000 (average investment)
500m * 1.5 = 750,000,000 (50% growth)
```
### Combat & Stats
```
(100 + 50 + 25) / 3 = 58.33 (average damage)
sqrt(10000) = 100 (damage calculation)
200 * 1.5 = 300 (crit damage)
(500 - 100) * 1.2 = 480 (defense reduction)
```
### Bulk Operations
```
50 * 100m = 5,000,000,000 (buying 50 items)
1000 * 500k = 500,000,000 (bulk crafting cost)
64 * 15625 = 1,000,000 (precise calculations)
27 * 64 * 100 = 172,800 (mass storage)
```
### Using Variables
```
/calcset buy 50m
/calcset sell 75m
$sell - $buy = 25,000,000 (profit using variables)
/calcset stacks 10
$stacks * 64 = 640 (items from stacks)
100 + 50 = 150
ans * 2 = 300 (using last result)
ans + 100 = 400 (chain calculations)
```
### Basic Multiplication
```
10 x 10 = 100 (using x operator)
10x10 = 100 (no spaces needed)
5 * 5 = 25 (traditional * also works)
100m x 2 = 200,000,000 (x with units)
3s x 5 = 960 (stacks multiplication)
10x5x2 = 100 (chained multiplication)
```
---
Commands
### Basic Commands
- `/calc ` - Calculate in chat
- `/calchist` - View calculation history (shows last 15)
- `/calcclear` - Clear calculation history
### Variable Commands
- `/calcset ` - Set custom variable
- Example: `/calcset profit 100m-50m`
- Example: `/calcset stacks 10`
### Help Commands
- `/calchelp` - Show main help menu
- `/calchelp operators` - Learn about +, -, *, x, /, ^, %
- `/calchelp functions` - Learn about sqrt, abs, floor, ceil, round, log, ln, sin, cos, tan, min, max, !
- `/calchelp units` - Learn about k, m, b, t, s, e, h, sc, dc, eb
- `/calchelp variables` - Learn about ans and custom variables
- `/calchelp examples` - See practical examples
- `/calchelp config` - Learn about configuration
### Configuration Commands
- `/calcconfig` - Open native settings GUI screen
---
Configuration
**Config file:** `config/notenoughcalculator.json`
### Available Settings
```json
{
"decimalPrecision": 10,
"showUnitSuggestions": true,
"enableHistoryNavigation": true,
"showInlineResults": true,
"enableCommaFormatting": true
}
```
### Settings Explained
- **decimalPrecision** (Default: 10) - Number of decimal places
- **showUnitSuggestions** (Default: true) - Show unit hints like "(50m)" in commands
- **enableHistoryNavigation** (Default: true) - Enable Ctrl+Z/Y shortcuts
- **showInlineResults** (Default: true) - Show results in REI search
- **enableCommaFormatting** (Default: true) - Format large numbers with commas
---
Keybinds & Shortcuts
### Search Bar Shortcuts
- **`Ctrl + Z` / `Cmd + Z`** in REI search - Recall previous calculation (undo)
- **`Ctrl + Y` / `Cmd + Y`** in REI search - Go forward in history (redo)
- **`Ctrl + C` / `Cmd + C`** in REI search - Copy clean calculation result to clipboard
- **`Enter` / `Numpad Enter`** in REI search - Commit calculation into history and keep focus
### Notes
- History is session-based and automatically clears when you leave a world or server
- This ensures a fresh start each time you play!
- Use `/calchist` to view your calculation history in chat
---
Pro Tips
### Use `ans` for quick follow-ups
```
100 + 50 = 150
ans * 2 = 300
ans + 1000 = 1,300
```
### Save common values as variables
```
/calcset hourly 500k
/calcset daily $hourly * 24
$daily * 30 = 360,000,000 (monthly)
```
### Results auto-format with commas
```
1000000 → 1,000,000
```
### Mix different units
```
100m + 500k = 100,500,000
2dc + 5h = 18,432
```
### Chain complex calculations
```
(100m - 50m) * 1.1 / 64 = 859,375 (per stack after markup)
```
### Use parentheses for clarity
```
(5 + 3) * 2 = 16 (not 11)
2^(10-3) = 128 (not 1017)
```
### Create calculation workflows
```
/calcset items 1000
/calcset price 50k
$items * $price = 50,000,000 (total cost)
```
### Use either * or x for multiplication
```
10 * 5 = 50 (traditional)
10 x 5 = 50 (also works)
10x5 = 50 (no spaces needed)
```
---
## Support
Important Version Notice:
- Following Hypixel SkyBlock’s Modern Update, only the latest two major Minecraft versions are supported. This mod will **not receive updates for older versions**. Please ensure you are using a supported version to avoid issues.
**Need help or found a bug?**
Please report issues on GitHub: [Issues](https://github.com/Rijzzz/NotEnoughCalculator/issues)
Or join our Discord for support: [Discord](https://discord.gg/asPJ4qgs8q)
---
Common Issues
- **Calculator not showing results?** Make sure REI overlay is visible (press your inventory key)
- **History not working?** Make sure `enableHistoryNavigation` is `true` in config
- **Calculator is unresponsive?** Make sure you have clicked on the REI search bar so the calculator is in focus. If you click somewhere else on the screen while typing the query, it will become unresponsive.
---
## Why This Mod?
[NEU (NotEnoughUpdates)](https://modrinth.com/mod/notenoughupdates) is one of the most popular Hypixel Skyblock mods, and its calculator feature was incredibly useful. However, NEU isn't available for newer Minecraft versions, leaving players without this essential tool.
**Not Enough Calculator** solves this problem by bringing NEU-style calculator functionality to [Roughly Enough Items (REI)](https://modrinth.com/mod/rei), which works on newer Minecraft versions.
---
## Credits
Special thanks to **[NotEnoughUpdates (NEU)](https://modrinth.com/mod/notenoughupdates)** for the original calculator inspiration! This mod brings the beloved NEU calculator experience to newer Minecraft versions.
---
## License
License Update Notice
### Licensing Notice and Transition Statement
This project was previously licensed under **All Rights Reserved**.
As of **February 2nd, 2026**, the project has been relicensed under the
**GNU Lesser General Public License v3.0 or later (LGPL-3.0-or-later)**.
### What this means
- **Open Source:** The project itself is now free and open source.
- **Modifications:** Any modifications or forks of this project's code must still be released under **LGPL-3.0-or-later**.
- **Linking and Compatibility:** Other projects (including proprietary mods, closed-source plugins, or modpacks) may link to, depend on, or interoperate with this mod without being required to adopt the LGPL, provided they do not modify this project's source code.
- **Ecosystem Integration:** This change is intended to improve compatibility with the wider Minecraft modding community, allowing for easier integration into modpacks, servers, and third-party tools.
### Versioning and Legacy
- **Previous Versions:** All versions released prior to **February 2nd, 2026** (v1.0.11 and earlier) remain under the **All Rights Reserved** license.
- **Current and Future Versions:** All versions released on or after **February 2nd, 2026** (starting with **v1.0.12**) are licensed under **LGPL-3.0-or-later**.
This mod is licensed under the **GNU Lesser General Public License v3.0 or later (LGPL-3.0-or-later)**.
You are free to:
* Use, modify, and redistribute this mod
* Include it in modpacks (commercial or non-commercial)
Under the following conditions:
* Any modifications to this mod itself must be released under the same license
* You must provide appropriate credit and include a copy of the license
* You must state any changes you make
See the full license text here:
[View License](https://github.com/Rijzzz/NotEnoughCalculator/blob/26.x-26.x.x/LICENSE.txt)
---
**Created and maintained by Laze & Rijz**
**Type. Calculate. Profit.**
---
*Last updated: 25-07-2026*