How much of weight gain is fat in pregnancy?

I’ve gained like 40 pounds this pregnancy. I genuinely was so shooked when i found that out because besides my huge bump, i feel like my body doesn’t look that drastically different. my face and legs look a bit bigger, but definitely not 40 pounds bigger. i’m so shocked. did i really gain 40 pounds of fat??