StellarisDB · Stellaris tool answer · unofficial
Which ship size?
Give s=<size key or name>, e.g. s=corvette; then x= sections, w= weapons, u= utilities, r= core parts, each joined by dots.
Every calculator and its parameters: https://stellarisdb.com/calc