John 12:3

Then Mary took about a pint of expensive perfume, made of pure nard, and she anointed Jesus’ feet and wiped them with her hair. And the house was filled with the fragrance of the perfume.

Note Greek a litra; that is, approximately 12 ounces or 340 grams

BSB · Berean Standard Bible
Then took Mary a pound of ointment of spikenard, very costly, and anointed the feet of Jesus, and wiped his feet with her hair: and the house was filled with the odour of the ointment.
KJV · King James Version
Therefore Mary took a pound of ointment of pure nard, very precious, and anointed Jesus’ feet and wiped his feet with her hair. The house was filled with the fragrance of the ointment.

Note a Roman pound of 12 ounces, or about 340 grams

WEB · World English Bible
Mary therefore took a pound of ointment of pure nard, very precious, and anointed the feet of Jesus, and wiped his feet with her hair: and the house was filled with the odor of the ointment.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

took
John 11:2, 28, 32; Matthew 26:6, 7–13; Mark 14:3–9; Luke 10:38, 39
ointment
Psalm 132:2; Song of Songs 1:12; Song of Songs 4:10, 13, 14
anointed
Mark 14:3; Luke 7:37, 38, 46
filled
Song of Songs 1:3