How do You Calculate Cubic Inches?

To calculate cubic inches of a flat surface you would just multiply the width in inches by the height in the inches. If it is three dimensional like the cubic inches if a refrigerator you would multiply the height in inches by the width in inches by the depth in inches.