Free · local in your browser
RPG Stat Build Calculator
Allocate a pool of stat points across your own attribute system, write derived-stat formulas for HP, damage, or crit, and see the whole build update as you spend. It uses the same published formula grammar as WriteIDE. Everything runs in your browser.
Each allocated point costs one from the pool in this version. Base values are free and do not draw from the pool.
The stepper spends points. Total is base plus allocated, shown in green on the right.
STRDEXCONINTWISCHAFormulas read the attribute totals by name. Names are case sensitive. Every result is rounded down to a whole number, the way LitRPG stats usually are.
| CHARACTER BUILD | |
| 24 of 27 spent · 3 remaining | |
| ATTRIBUTES | |
| STR | 15 |
| DEX | 14 |
| CON | 13 |
| INT | 12 |
| WIS | 10 |
| CHA | 8 |
| DERIVED | |
| HP | 150 |
| Carry | 75 |
| Initiative | 7 |
CHARACTER BUILD Points 24 of 27 spent, 3 remaining ATTRIBUTES STR 15 DEX 14 CON 13 INT 12 WIS 10 CHA 8 DERIVED HP 150 Carry 75 Initiative 7 made with writeide.com
Copy JSON gives an { attributes, derived } object you can round-trip into your own tools. The PNG is a crisp image of the build sheet for Reddit, Discord, or X.
How the formulas work
A derived stat is a formula over your attribute totals. Type the attribute name as it appears in the chips, such as CON*10 + 20 for HP, and the value updates as you allocate points. The grammar is plain arithmetic with + - * / ^ and the functions floor, ceil, round, min, max, abs, sqrt. There are no dice and no random rolls. Every result is rounded down to a whole number.
A flat point cost, on purpose
In this version every allocated point costs one from the pool. The classic D&D point-buy array loaded here spends 24 of the 27 points that way, so the banner reads three points remaining. Tabletop point-buy uses an escalating cost table where a higher score costs more per point, which would make the same array cost exactly 27. That table is a later addition. For designing your own progression system, a flat cost is the clear place to start. It all runs in your browser, with no account, and nothing you enter is sent anywhere.
Good to know
Questions about this tool
How does the point pool work?
Set a pool, then spend it across your own attributes with the plus and minus steppers. Each allocated point costs one from the pool in this version, and base values are free. A banner shows the points you have left.
What can I write in a derived-stat formula?
Use your attribute names (they are case sensitive), numbers, + - * / ^, parentheses, and the functions floor, ceil, round, min, max, abs, and sqrt. Every result is rounded down to a whole number, the way LitRPG stats usually are.
Does it use D&D point-buy costs?
Not yet. The loaded D&D array spends 24 of its 27 points because every point costs one. Tabletop point-buy has an escalating cost table, which would make the same array cost exactly 27.
What can I take away from it?
Copy the build as plain text or JSON, or download a PNG. The PNG has a writeide.com mark you can switch off. Nothing is uploaded.