Bamidbar15:20

רֵאשִׁית עֲרִסֹתֵכֶם חַלָּה תָּרִימוּ תְרוּמָה כִּתְרוּמַת גֹּרֶן כֵּן תָּרִימוּ אֹתָהּ׃

Of the first of your dough you shall set apart a loaf as a contribution. As the contribution of the threshing floor, so shall you set it apart.

Bamidbar 15:20

רֵאשִׁית עֲרִסֹתֵכֶם חַלָּה

Bamidbar / Numbers 15:20 · Pshat

Bamidbar 15:20

רֵאשִׁית עֲרִסֹתֵכֶם חַלָּה תָּרִימוּ תְרוּמָה כִּתְרוּמַת גֹּרֶן כֵּן תָּרִימוּ אֹתָהּ׃

Of the first of your dough you shall set apart a loaf as a contribution. As the contribution of the threshing floor, so shall you set it apart.

Pshat פְּשָׁט

The first of your dough

The bread is baked and everyone is hungry. Why is the first part given away before you eat yourselves?

Rashi: when you knead as much dough as you were used to in the wilderness, an omer per person, set aside from it, before eating, one loaf as a contribution to the Eternal. The Torah set no measure for it, but the sages did: a householder gives one twenty-fourth, and a baker one forty-eighth. Sforno: after the sin of the scouts challah was needed too, so that blessing would rest on their homes, as it says in Yechezkel (Ezekiel): "give the first of your dough to the kohen, to cause a blessing to rest on your house."

How Rashi and Sforno explain it

Rashi The first of your dough

When you knead as much dough as you were used to kneading in the wilderness. And how much is that? "And they measured with an omer, an omer per head" (Shemot / Exodus 16:16–18). Set aside from its beginning, that is, before you eat from it, let one loaf first be taken as a contribution for the name of the Eternal.

Rashi As the contribution of the threshing floor

For which no measure is stated, and not like the contribution from the tithe, for which a measure is stated. But the sages set a measure: for a householder one twenty-fourth, and for a baker one forty-eighth.

Sforno A loaf you shall set apart as a contribution

After the sin of the scouts He required challah too, so that they would be worthy of blessing resting in their homes, as it says: "And the first of your dough you shall give to the kohen, to cause a blessing to rest on your house" (Yechezkel / Ezekiel 44:30). And so Eliyahu (Elijah): "Make me from it a small cake first and bring it out to me, (and for yourself and your son make afterward), for so says the Eternal: the jar of flour shall not run out" (Melachim I / I Kings 17:13–14).

Takeaway

The omer is the measure of manna per person per day in the wilderness. From this amount of flour the sages require setting aside challah.
A householder bakes for his family, and a baker for sale, much dough at once, so he was given a smaller share.
The widow of Tzarfat gave Eliyahu her last handful of flour, and the flour in her jar did not run out until the rain came (Melachim I / I Kings 17:8–16).