The largest recorded egg is from a whale shark and was in size. Whale shark eggs typically hatch within the mother. At and up to , the ostrich egg is the largest egg of any living bird, though the extinct elephant bird and some non-avian dinosaurs laid larger eggs. The bee hummingbird produces the smallest known bird egg, which weighs half of a gram (around 0.02 oz). Some eggs laid by reptiles and most fish, amphibians, insects, and other invertebrates can be even smaller.