The average bedroom size is 132 sq ft, about 11 by 12 ft. See standard bedroom sizes by type, what counts as small or large, exact fit math, and legal minimums.
A 10 by 12 foot room is the minimum for a king bed, but 12 by 12 is where it gets comfortable. This guide shows the math, mattress plus frame plus clearances, so you know your fit before you buy.