# Questions tagged [anydice]

For questions about AnyDice.com, a dice probability calculator that offers probability curves for defined rolls, along with a function library for more complex calculations.

211 questions
Filter by
Sorted by
Tagged with
6k views

### How to approximate rolls for potions of healing using only d6's?

I want to make tabletop potions of healing out of corked vials (test tubes) filled with dice. Each vial would be labeled and filled based on the potion it represents. For example, a vial for a potion ...
• 30.3k
5k views

### Can AnyDice.com handle weighted dice?

Is it possible to weight the dice in AnyDice.com and then use like normal? I'd like to use a standard d6, with values 1-6, but weighted such that the probability for rolling a specific value is as ...
• 483
5k views

### How many rolls does it take to get to six coins?

I'm designing a microRPG and need some help calculating probabilities so I can make an informed decision about how many coins to start with (controlling session duration and early-game frustration). ...
• 53.4k
8k views

### How does one calculate the distribution of the Matt Colville way of rolling stats?

Specifically, the Matt Colville way of rolling stats is: Roll 4d6, drop the lowest value die for 1 stat; If this roll is lower than 8, reroll it; Repeat steps 1 and 2 until you have a set of 6 stats ...
4k views

### What is a decent dice rolling strategy for partial/half advantage?

I understand that 5e is all about advantage and cancelling, etc. I understand advantage well, and the statistics. I was hoping there would be a commonly known dice rolling strategy with similar ...
• 373
3k views

### Roll Xd6, keeping highest value and adding +1 for each duplicate of that value?

I'm making a card/dice game and I'm trying to set something up on Anydice to compare the odds of the dice rolls, but I'm having some trouble wrapping my mind around some of the language Anydice uses. ...
• 15.1k
5k views

### How do I determine the probability of rolling various ranges of numbers on 4d10, 5d10, etc.?

After realizing that my knowledge of how probabilities function has waned significantly, I'm wondering what the probability of rolling multiple 6's or higher (6-10) on four 10-sided dice, five 10-...
10k views

### How can I use AnyDice to check counting-success probabilities?

Sorry for asking a "do the work for me" type question, but I'm looking at the AnyDice documentation and appear to be missing something. I'm hoping to not just get the question answered, but learn how ...
• 22.3k
5k views

### How do I model the fighter's Great Weapon Fighting fighting style in Anydice?

I was trying to create an AnyDice function to model the Great Weapon Fighting fighting style (which lets you reroll 1s and 2s), but I couldn't get it to work on any arbitrary dice. I've found this ...
3k views

### How can I examine the distribution of successes-counting mixed dice pools?

After looking at AnyDice's Documentation and Function Library, I remain baffled. I know that AnyDice can do this, but I don't know how to tell it to. Scott Gray's Dice Pool Generator is easier to use ...
• 192k
2k views

### Struggling with rolling for stats probability calculation

I tried finding a specific statistic calculator, even tried playing with anydice.com, with no success. My friends love to roll dice, but we also want the same playing field when starting a campaign, ...
• 179
4k views

### How does replacing Advantage with a flat +2 affect Champion critical hit damage output?

My DM does not like Advantage/Disadvantage. While I disagree with his reasons on this, he has decided to replace it with a +2/-2 rule and I respect him (mostly) enough to follow his rules. I recently ...
• 3,536
4k views

### How can I model Burning Wheel probabilities in AnyDice?

I have a basic intuition about dice in Burning Wheel, but it's handy to be able to look at actual probability distributions to hone your intuition. Especially since important rolls can involve ...
• 29.2k
5k views

### Help Writing an AnyDice Function for a Weird Dice Mechanic

I've thought of a dice mechanic that I'd like to test the numbers for, but it's complicated enough that I don't know how to model it in AnyDice. It's sort of a modified dice pool, where the successes ...
3k views

### What is your chance to win in a contest where you have advantage and your opponent has disadvantage?

I'm trying to think of the answer to a certain problem, but I'm finding it hard to calculate. How much of a statistical edge do you have in a scenario where all of the following are true? You engage ...
2k views

### How can I model this "Party Draft Pool" ability score generation method in AnyDice?

I'm looking to model an alternate to the "4d6, drop the lowest" mechanic for determining ability scores. The proposed system works as follows: 4 players roll 4d6, drop the lowest x 6 [24 total]. ...
• 133
4k views

### How can I use AnyDice to simulate rolling 6d6, and dropping the 2 lowest and 1 highest dice?

I'm running a new D&D 5e campaign soon and I'd like to try rolling for stats with some guardrails. Doing some test throws at the table, I liked the look of rolling 6d6, then dropping the highest ...
• 365
5k views

### How can I get the highest two die rolls from a mixed pool in AnyDice?

Let's say the rulebook says this: Roll one 4-sided die, two 6-sided dice, and one 10-sided die. Add the highest two rolls together. In a different environment, I might write something like this: ...
• 17.1k
2k views

### Is it better to make two separate contested rolls or one with advantage?

I'm trying to model the benefit of enemies working together in contests with my PCs. Assume I have a pair of enemies that are attempting to shove a PC. They are smart enough for one to use the Help ...
• 3,286
1k views

### How do I implement this specialized roll-and-keep mechanic in AnyDice?

I need help with an anydice function. I'm looking for a modified Roll and Keep type of mechanic, where if you have more dice that roll the max result than you are keeping, each discarded max result ...
• 111
2k views

### Rolling 7 stats of "4d6, reroll 1s and 2s, drop the lowest number" and dropping the lowest sum in AnyDice

Rolling an individual (N)PC stat of 4d6, rerolling 1s and 2s, and dropping the lowest gives a modal average of 15 with a range of 9-18. The AnyDice code to produce the graph for that is simple enough (...
2k views

### How to model opposed rolls in Anydice?

I've seen there are quite a lot of brilliant people on this board answering questions about Anydice. I am hoping somebody will be kind enough to answer this one too. I want to use anydice to figure ...
• 113
2k views

### How to calculate conditional probabilities in AnyDice?

While writing the addendum to this answer, which considers the relative value of skill vs. characteristic in the "3d20 system" of Neuroshima, I found myself wanting an answer to a deceptively simple ...
• 24.5k
2k views

### Syntax for a unique dice system on Anydice?

I've been studying and toying with a lot of odd dice systems for a while now, and Anydice has been a great help in understanding the probability effects of different systems. However, I've run into ...
• 113
3k views

### Anydice: Reroll the lowest of 3d10 and keep the middle one

In a game I'm designing, usually you roll 3d10 and then keep the middle value. Example: If you roll 1, 2, and 10, your result is 2. In anydice this is easy to calculate: ...
• 475
2k views

### How can I calculate the sum of 2 random dice out of a 3d6 pool in AnyDice?

With AnyDice it's pretty easy to calculate probalities for highest and lowest 2 of a 3d6 pool, namely with: output [highest 2 of 3d6] output [lowest 2 of 3d6] ...
• 103
2k views

### Looked at a different rolling (3d6, 3d6, average) for D&D characters in AnyDice and the result didn't come out as expected. What am I missing?

One of the historical dice mechanics in AD&D that can be used is: 3d6 twice for each attribute and pick the best of each pair of rolls. Normal 3d6 once gives a mean of 10.50. Rolling two sets of ...
• 543
2k views

### How to calculate the probabilities for eliminative dice pools (dice cancelling mechanic) in Neon City Overdrive?

The game Neon City Overdrive uses the following resolution mechanic for checks: create a pool of Action Dice and (possibly) another pool of differently-colored Danger Dice (all d6, generally up to 5 ...
• 111
1k views

### Why won't AnyDice let me store dice rolls in variables?

I'm trying to emulate a "Fate-like" distribution that imitates 1d6-1d6. That's not really the point, so much as I don't understand the error it gives me. ...
• 2,274
5k views

### How should I emulate the highest in an irregular dice pool in AnyDice?

Basically, I'm trying to do something like [highest 1 of {a pool of Xd4, Yd6, Zd8, etc, all together}] For example:I roll 1d4 and 1d6 and 1d8; their results are, respectively, 4(out of 4 max), 5(out ...
• 2,274
2k views

### Roll and Keep in Anydice

I want to check out the probabilities of the Roll and Keep system (as known from L5R 1-4th Edition) in Anydice. We luckily have boundaries: We roll Skill + Stat + Modifier initial dice. 10 explodes;...
• 45.6k
2k views

### How can I get the highest or lowest values of an irregular dice pool in AnyDice?

I want to calculate irregular dice pools, such as (2d10, 1d8) in AnyDice, but I'm having difficulties. What I mean to do is out of a roll of 2d10 and a 1d8, take the highest (or lowest) two values ...
• 101
4k views

### How can I execute code depending on a die value in AnyDice?

I'd like to be able to have a conditional test the value of a die or set of dice. Here's a simple example using a d6, but I'm looking for a way to check values of arbitrary dice sets. ...
• 99
2k views

### I need a 'standard array' for a D&D-like homebrew game, but anydice chokes - how to proceed?

So, I'm working on a homebrew RPG that is similar to several FRPs that use 3d6 sorts of starting values for attributes/characteristics. I know how to calculate the standard D&D (5E or other) '...
• 543
1k views

### Does this AnyDice function accurately calculate the number of ogres you make unconcious with three 4th-level castings of Sleep?

Say we have three ogres, and want to put them to sleep as a handful of level 7 casters with the sleep spell. We want to know how many of them, on average, will get put to sleep. I tried to make an ...
• 75.9k
1k views

### Simulating "Heart: The City Beneath" dice using Anydice

I like to design systems and break apart games to learn stuff, and Anydice is a great tool I have been using for a while. However I am looking at some Heart rolls and it appears Anydice is giving me ...
• 93
1k views

### Modelling "rolling d6 >= charges left expends a charge" mechanics with anydice

You have X charges left. Rolling a d6 equal or over the number of charges left depletes a charge. How many uses do you get out of a starting X charges? e.g. 1 charge, 1 use left. 2 charges, rolling 2 ...
• 2,274
983 views

### Anydice: "highest 1 of 3d6 1d12" function. Is this correct?

Would anyone that's anydice savvy take a look at this formula and tell if its correct for what I want to do? The idea is that it returns the highest value among the results of rolling three 6-sided ...
8k views

### Using AnyDice to determine the odds of getting a specific number sequence on multiple dice

After a few hours trying to design the proper code in AnyDice, I had to admit I didn't find a proper way to reach my goal, so I'm wondering if someone could give me a helping hand. Here is the ...
• 91
2k views

### How do you simulate dependent dice rolls in anydice?

I'm attempting to find the damage distribution (given a target with stats) of a series of two 5e attacks, mind sliver and then two melf's minute meteors. But it seems I'm having trouble modeling dice ...
• 192
1k views

### How to calculate the probablity of getting 5 hits with 13 dice in Anydice?

How can I calculate probabilities for Shadowrun 5 in Anydice? In Shadowrun 5E (and 4E too, earlier it was completely different) you roll a 6 sided die for each point of your skill and the relevant ...
• 65.3k
2k views

### Are there anydice function(s) or code for Savage Worlds rolls?

I am trying to use the exploding function and the highest of functions, but I am having issues with the skill die or wild die side of the roll. If I do output [highest 1 of 1d4 + 1d6] I get a ...
• 309
4k views

### How many times can the Psionic Talent Die be rolled before becoming unusable?

In the Psionic Options UA all the subclasses get access to a Psionic Talent Die that works as follows: Changing the Die’s Size. If you roll the highest number on your Psionic Talent die, it ...
• 4,807
1k views

### How can you calculate the likelihood of getting a set of stats or better when rolling 4d6 drop lowest?

If I have a given set of character stats from rolling with "4d6, drop lowest", how can I calculate the probability of getting that specific result, or better values for each of them? For ...
879 views

### Have highest die be rerolled if a 1 is rolled in AnyDice

The system uses a dice pool of d4s of up to 3 dice (3d4 is the maximum number of dice you can roll). If at least a 4 comes up in the pool, that's a success. If the highest number is a 3, it's a ...
1k views

### With anydice.com, how can I get the middle 5 from a roll of 7d4?

I want to roll 7d4, and drop the highest and the lowest results. I know I can get the second highest with output 2@7d4, so I thought it would be something like <...
• 437
421 views

### How can I get an AnyDice conditional to convert a sequence to a boolean?

I'm trying to get AnyDice to roll a dice pool of dNs if any result = N roll one more dN output 1 if that die roll is greater than variable a target number (set by the count of successes e.g. one '...
• 13.7k
768 views

### How can I generate a heat map from AnyDice results?

I want to show some effects of changing dice rolls on a heat map, where on one axis I have task difficulty (level of a spell, quality of lock to pick etc), and on another character level / proficiency ...
• 26.1k