Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Game Shop Increasing Reroll Cost

Calculate the total for rerolls that increase by a fixed cost after each attempt.

Gaming workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaTotal = rolls*(2*first_cost+(rolls-1)*increase)/2; Left = cash-rolls*(2*first_cost+(rolls-1)*increase)/2

Made for real tasks

  • Calculate the total for rerolls that increase by a fixed cost after each attempt.
  • Compare two scenarios by changing the inputs and rerunning the tool.
Explore step-by-step workflows →

Worked example

Inputs

First cost
2 coins
Increase
1 coins/reroll
Rolls
5 rerolls
Cash
25 coins

Expected results

Total
20 coins
Left
5 coins

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter first cost, increase, rolls, cash.
  2. Use consistent units shown beside each input. Run the calculation and review the assumptions below.

Try this example

{
  "first_cost": 2,
  "increase": 1,
  "rolls": 5,
  "cash": 25
}

Accuracy and scope

Arithmetic price increase with no reset, discount or free rerolls; enter the game rule yourself.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.