What this power factor calculator covers
This page supports two practical workflows. If you already know real power in kilowatts and apparent power in kilovolt-amperes, it calculates the implied power factor and phase angle. If you know the phase angle directly, it calculates power factor from the cosine relationship.
Keeping those two methods separate matters because they answer slightly different questions. One method helps when you have metered power data, while the other is useful when you already know the phase relationship and want the corresponding power factor.