Check out the site https://www.keycaps.info/ it shows side profiles and keycap heights of common profiles.
Mechanical Keyboards
Are you addicted to the clicking sounds of your beautiful and impressive mechanical keyboard?
If so, this community is for you!
Here you can discuss everything about mechanical keyboards (and only mechanical keyboards).
Banner by Jay Zhang on Unsplash
oh very cool, ty :)
You might have seen this image (or similar):
The normal keyboard should have a flat PCB and the variation in height entirely based on the cap profile. Some profiles will have interchangeable keys, e.g. XDA you can swap the keys to any row except the first row while OEM you can't really swap keys between rows or they'll stick out.
As far as I know, you can use any profile on any board (provided the keycaps are compatible with the switch stems).
Hopefully that helps answer your question.
Different keycap profiles do make a difference between the height, yes. This blog post has some graphics that illustrate the height difference of some keycap profiles pretty well.
Height varies a lot between different profiles - check out the comparison on this page (some of those are for low profile switches but G20 and up are for standard MX switches): https://fantechworld.com/keycap-profiles-differences/ Additionally some profiles such as DSA, XDA, and KAM are uniform, meaning every row is the same shape (except for homing keys). Others are sculpted, meaning the height and angle varies between rows.