[ Tool ] · Free and offline
Type a damage or derived-stat formula such as STR*2 + WEAPON - DEF, set each variable with a slider, and read the result plus a sweep graph of one variable across its range. It is the exact formula engine WriteIDE runs on your book, and it works entirely in your browser.
Every name that is not one of the listed functions becomes a variable below. Names are case sensitive, so STR and str are two variables.
Computed from the variable values on the left.
| DEF | Result |
|---|---|
| 0 | 32 |
| 1 | 31 |
| 2 | 30 |
| 3 | 29 (you are here) |
| 4 | 28 |
| 5 | 27 |
| 6 | 26 |
| 7 | 25 |
| 8 | 24 |
| 9 | 23 |
| 10 | 22 |
| 11 | 21 |
| 12 | 20 |
| 13 | 19 |
| 14 | 18 |
| 15 | 17 |
| 16 | 16 |
| 17 | 15 |
| 18 | 14 |
| 19 | 13 |
| 20 | 12 |
| 21 | 11 |
| 22 | 10 |
| 23 | 9 |
| 24 | 8 |
| 25 | 7 |
| 26 | 6 |
| 27 | 5 |
| 28 | 4 |
| 29 | 3 |
| 30 | 2 |
| 31 | 1 |
| 32 | 0 |
| 33 | -1 |
| 34 | -2 |
| 35 | -3 |
| 36 | -4 |
| 37 | -5 |
| 38 | -6 |
| 39 | -7 |
| 40 | -8 |
| 41 | -9 |
| 42 | -10 |
| 43 | -11 |
| 44 | -12 |
| 45 | -13 |
| 46 | -14 |
| 47 | -15 |
| 48 | -16 |
| 49 | -17 |
| 50 | -18 |
The gold marker sits where DEF equals its current value.
The PNG holds the sweep graph, the formula, and the variable values, ready to post to Reddit or Discord.
The sandbox parses the same grammar WriteIDE validates for stat formulas: numbers, your own variable names, the operators plus, minus, times, divide, and power, parentheses, and the function whitelist floor, ceil, round, abs, sqrt, min, and max. Anything else, such as implicit multiplication like 2STR or a dice roll like 2d6, is rejected and the result reads as a dash. The final value is floored to a whole number, so STR times 2.5 with STR at 3 shows 7 rather than 7.5, since intermediate math stays a decimal and only the returned value floors.
A general graphing tool makes you rename your stats to x and y and gives you no sense of how a formula behaves as one stat scales. This sandbox keeps your real variable names, evaluates the formula with the same engine that runs across a whole WriteIDE manuscript, and draws the sweep so you can see the shape of the curve as defense climbs to 200 or strength doubles. It runs entirely in your browser. There is no account and nothing you type is sent anywhere.
This tool handles one at a time. WriteIDE is the desktop studio that tracks LitRPG stats, items, skills, and quests across a whole novel, and keeps them correct at every scene.