 This page contains unofficial information, concepts, or terminology derived from or based on community discussion, invention, or knowledge. This page may be subjective and contain information or terminology that is not used by miHoYo or in official Genshin Impact communications, and may not be an officially recognized concept.

This article seeks to derive some mathematical results for optimizing Attribute ratios. The derivations assume some familiarity with multivariable calculus and Lagrange multipliers.

Please note that these are only theoretical results, and in-game optimization may differ in practice.

## Expected Critical

Let r be the CRIT Rate probability ( ) and d be the CRIT Damage ( ) in decimal form (so 150% CRIT Damage would be ).

Suppose the damage is x without a CRIT. The expected damage is The objective is to maximize this function, namely the product .

In general, choose the CRIT Rate r and CRIT Damage d that maximizes their product to maximize the expected damage. That is, ceteris paribus (holding all other attributes constant):

Maximize the product of CRIT Rate and CRIT Damage.

Note that in practice, if one considers other factors, this may change. For example, for a Favonius Warbow, it may be more optimal to have more CRIT so that one can receive more energy. Some characters like Sangonomiya Kokomi may not even rely on CRIT. Some artifact sets and other effects like Blizzard Strayer and Cryo Resonance may give much more CRIT Rate to begin with, that it might be more optimal to stack more CRIT Damage. In practice, the optimization will usually differ based on one's team compositions.

### Crit Ratio

If one assumes a certain distribution between crit damage and crit rate, then it is possible to derive a special optimal crit ratio. For example, a 2:1 ratio between crit damage and crit rate is sometimes recommended. This 2:1 ratio is optimal if one assumes a special distribution between crit damage and crit rate.

Within Genshin Impact, there is a tendency for crit rate and crit damage to appear in a 1 to 2 ratio, whether for artifacts, weapons, ascensions, etc. That is, for every 1 point in crit rate we gain, we lose 2 points in crit damage. We can express this using the following constraint: for some constant c.

Our new goal is to maximize the product rd with respect to the above constraint. We can do this using Lagrange multipliers.  Solving this system gives so the optimal ratio between crit damage and crit rate assuming the given constraint is 2 to 1, as desired.

### Crit Distribution

One of the key assumptions for the 2:1 rule of thumb to hold is the distribution of crit stats. Note that the assumption that crit damage and crit rate are distributed in a 2:1 ratio does not always hold in practice, in which case, we do not have a 2:1 ratio but rather go back to maximizing the product of crit rate and crit damage.

However, for artifact substats, crit rate and crit damage are usually distributed in such a way. We introduce the notion of the crit value as For a 5 star artifact piece, we assume that we get a high roll on both crit rate and crit damage . Note that we roughly have . We assume that when we level up the artifact, all upgrades go into either crit rate or crit damage. (When leveling to +20, we can upgrade substats 5 times.) Each time crit is upgraded it increases by , and each time crit damage is upgraded it increases by .

So we have the following table describing the possible stats we can get at +20:

Crit rate Crit damage CV               So here the constraint approximately holds where the constant c is just the crit value . This gives some plausibility for the assumption made in the previous derivation.

## ATK%

We now consider a third variable ATK%. With this the expected damage becomes where all other factors are absorbed into a constant x. Here we want to maximize the objective function .

For artifact substats, we assume that ATK%, CRIT RATE, and CRIT DMG are distributed as follows: That is, they appear in roughly a 3:2:4 ratio.   From this we have that and  Solving this equation gives Note this is only a theoretical result derived from a series of assumptions, and in-game optimization may be completely different. The formula is more complicated than the simple 2:1 rule of thumb derived earlier, so when optimizing ATK% in practice, it may be more useful to experiment around rather than follow the exact equation.

## Emblem of Severed Fate

If a character equips a 4-piece Emblem of Severed Fate, how much should they invest into ER% and ATK%? In terms of maximizing the raw damage number, it is usually optimal to choose more ATK% over ER%. However, having more ER% can help characters gain their bursts more quickly, which could help deal more damage in the long run. For example, some characters such as Raiden Shogun, Mona, Xiangling, Xingqiu rely on their bursts for most of their damage.

Suppose we have no Damage Bonus to begin with. Damage will be proportional to where a is the ATK% and b is the damage bonus. If one equips a 4-piece Emblem of Severed Fate set (which gives +20% ER and damage bonus equal to 25% of one's ER), then where is any extra ER% we have. From artifact substat distributions, we roughly have Then  Solving gives  Note this value is negative for (368 ATK% which is not realistically achievable).

This means that for maximizing a single-instance of damage (or damage per screenshot), it is usually always optimal to invest into ATK% over ER% when equipping a 4 piece Emblem of Severed Fate. For example, choosing an ATK% sands over an ER% sands will give more damage per screenshot.

However, ER% is beneficial to invest in to the point of spamming one's burst on cooldown if one's burst gives a major chunk of their damage.