R. Judah and R. Nehemiah disagreed. R. Judah says: Because they sinned at midday, they would give a half-shekel. And R. Nehemiah said: Because they sinned during six hours of the day, they would give a half-shekel, for it is made up of six grammata. R. Judah bar Nehemiah said in the name of R. Yohanan ben Zakkai: Because Israel transgressed the Ten Commandments, they would give ten gerahs. R. Berekhyah said in the name of Resh Lakish: You sold the firstborn of Rachel for twenty pieces of silver; therefore, every firstborn that you shall have, his redemption shall be five shekels of silver, as it is stated (Numbers 3:47): "You shall take five shekels each."
Why Israel Gives a Half-Shekel After the Golden Calf
Midrash Tanchuma Buber, Ki Tisa 7:2
ר' יהודה ור' נחמיה, ר' יהודה אומר לפי שחטאו בחצי היום יתנו מחצית השקל, ור' נחמיה אמר לפי שחטאו בשש שעות ביום יתנו מחצית השקל, שהוא עושה ששה גרמיסין. ר' יהודה בר נחמיה אמר בשם ר' יוחנן בן זכאי לפי שעברו ישראל על עשרת הדברות, יתנו עשרת גרה. ר' ברכיה בשם ריש לקיש אמר אתם מכרתם בכורה של רחל בעשרים כסף, לפיכך כל בכור שיהא לכם יהא פדיונו חמשת שקלים כסף, שנאמר ולקחת חמשת חמשת (במדבר ג מז).