"P" short for points defines the amount of parts you can have.
Different parts have a different "P" cost.
They don't reduce the amount of "P" you have rather they add "P"
You cannot have a ship that has a "P" value above the threshold, but you can increase the threshold at the cost of "C" in the Upgrades menu.
The maximum "P" threshold is 8000.