In the allocation of resources to a set of agents, how do fairness guarantees impact social welfare? A quantitative measure of this impact is the price of fairness, which measures the worst-case loss of social welfare due to fairness constraints. While initially studied for divisible goods, recent work on the price of fairness also studies the setting of indivisible goods.In this paper, we resolve the price of two well-studied fairness notions in the context of indivisible goods: envy-freeness up to one good (EF1) and approximate maximin share (MMS). For both EF1 and 1 /2-MMS we show, via different techniques, that the price of fairness is O( √ n), where n is the number of agents. From previous work, it follows that these guarantees are tight. We, in fact, obtain the price-of-fairness results via efficient algorithms. For 1 /2-MMS our bound holds for additive valuations, whereas for EF1, it holds for the more general class of subadditive valuations. This resolves an open problem posed by Bei et al. (2019).