To check your iPhones storage capacity, Go to Settings > General > iPhone Storage -> About or click here see full details on Apple's website.

The storage will be the second number, in the image below, this iPhone has 256 GB.