Numbers 3:40-43

Redemption of the Firstborn

40And the Lord said to Moses, “List all the firstborn males of the people of Israel, from a month old and upward, taking the number of their names. 41 aAnd you shall take the Levites for me—I am the Lordinstead of all the firstborn among the people of Israel, and the cattle of the Levites instead of all the firstborn among the cattle of the people of Israel.” 42So Moses listed all the firstborn among the people of Israel, as the Lord commanded him. 43And all the firstborn males, according to the number of names, from a month old and upward as listed were 22,273.

Numbers 18:14-16

14 bEvery devoted thing in Israel shall be yours. 15 cEverything that opens the womb of all flesh, whether man or beast, which they offer to the Lord, shall be yours. Nevertheless, dthe firstborn of man you shall redeem, and the firstborn of unclean animals you shall redeem. 16And their redemption price e(at a month old you shall redeem them) you shall fix at five shekels
A  shekel was about 2/5 ounce or 11 grams
in silver, according to the shekel of the sanctuary, gwhich is twenty gerahs.
Copyright information for ESV