How it is calculated
If the target format is wider than the recording, the full width is kept and the height is cropped: height = width ÷ aspect ratio. If it is narrower, the full height is kept and the width is cropped. Values are rounded to even pixel counts, as most codecs require.
If you frame for a different format on set, enable frame guides in the viewfinder and check the resolution after cropping against the delivery specification.