in addition to the window or door, what is included in the total width of a rough opening?

in addition to the window or door, what is included in the total width of a rough opening?
Answer
Brief Explanations:
In construction, the total width of a rough - opening for a window or door includes the combined thickness of the trimmer and king studs along with the shim thickness. This accounts for proper installation and accommodation of the window or door unit.
Answer:
The combined thickness of the trimmer and king studs plus the shim thickness.