Electrical Engineering Calculator

Power Factor Calculator

Calculate power factor, real power (kW), reactive power (kVAR), apparent power (kVA), and phase angle for AC electrical systems.

Power Triangle

Visual representation of real, reactive, and apparent power relationship

P = 80.0 kWQ = 60.0 kVARS = 100.0 kVAφ = 36.9°PF = cos(φ) = 0.800

Calculation Method

Select input parameters based on available data.

kW

Active power performing useful work.

kVA

Vector sum of real and reactive power.

Engineering Tip

Most utilities charge penalties for power factor below 0.95. Install capacitor banks to correct low power factor and reduce electricity costs.

Power Factor

0.800

Reactive Power

60.00 kVAR

Apparent Power

100.00 kVA

Phase Angle

36.87°

Low Power Factor Warning

Power factor below 0.85 indicates significant reactive power. Consider power factor correction using capacitor banks to reduce current, losses, and utility penalties.

Governing Formulas

PF = P / S = cos(φ)
S² = P² + Q²
Q = P × tan(φ)
PF—

Power factor

PkW

Real power

QkVAR

Reactive power

SkVA

Apparent power

φ°

Phase angle

Calculation Assumptions

  • Sinusoidal steady-state AC
  • Linear loads (no harmonics)
  • Single-phase or balanced 3-phase
  • Constant voltage and current
  • Lagging power factor (inductive load)
  • RMS values used

Engineering Code

Reuse the calculation in your own engineering workflow.

Python
import math

def power_factor_from_PS(P, S):
    """
    Calculate power factor from real and apparent power.
    P: Real power (kW)
    S: Apparent power (kVA)
    Returns: Power factor (0-1)
    """
    if P <= 0 or S <= 0 or S < P:
        raise ValueError("Invalid inputs: S must be >= P and both > 0")
    return P / S

def power_factor_from_VIP(V, I, P):
    """
    Calculate power factor from voltage, current, and real power.
    V: Voltage (V)
    I: Current (A)
    P: Real power (kW)
    Returns: Power factor (0-1)
    """
    if V <= 0 or I <= 0 or P <= 0:
        raise ValueError("All inputs must be positive")
    S = (V * I) / 1000  # Convert to kVA
    return P / S

def reactive_power(P, pf):
    """Calculate reactive power (kVAR)"""
    if pf <= 0 or pf > 1:
        raise ValueError("Power factor must be between 0 and 1")
    return P * math.tan(math.acos(pf))

def phase_angle(pf):
    """Calculate phase angle (degrees)"""
    if pf <= 0 or pf > 1:
        raise ValueError("Power factor must be between 0 and 1")
    return math.degrees(math.acos(pf))

# Example
P = 80
S = 100
pf = power_factor_from_PS(P, S)
Q = reactive_power(P, pf)
phi = phase_angle(pf)
print(f"Power Factor: {pf:.3f}")
print(f"Reactive Power: {Q:.3f} kVAR")
print(f"Phase Angle: {phi:.2f}°")
MATLAB
function [pf, Q, phi] = power_factor_calc(P, S)
% Calculate power factor and related quantities
%   P: Real power (kW)
%   S: Apparent power (kVA)
%   Returns: pf (power factor), Q (reactive power kVAR), phi (phase angle deg)

    if P <= 0 || S <= 0 || S < P
        error('Invalid inputs: S must be >= P and both > 0');
    end
    
    pf = P / S;
    Q = P * tan(acos(pf));
    phi = acosd(pf);
end

% Example
P = 80;
S = 100;
[pf, Q, phi] = power_factor_calc(P, S);
fprintf('Power Factor: %.3f\n', pf);
fprintf('Reactive Power: %.3f kVAR\n', Q);
fprintf('Phase Angle: %.2f deg\n', phi);
Excel Formula
=P/S

Example Calculation

For an industrial motor consuming 80 kW of real power with 100 kVA apparent power:

PF = P / S = 80 / 100
PF = 0.800
Q = P × tan(arccos(0.8)) = 80 × 0.75 = 60 kVAR
φ = arccos(0.8) = 36.87°

Technical Explanation: Power Factor

Power factor is a dimensionless quantity between 0 and 1 that describes how effectively an AC electrical system converts the current it draws into useful work. It is defined as the ratio of real power P (in kW) to apparent power S (in kVA), and equivalently as the cosine of the phase angle φ between the voltage and current waveforms. A power factor of unity means voltage and current are perfectly in phase and all the supplied current performs useful work; a lower value means part of the current is circulating to sustain magnetic fields and does not deliver net energy to the load.

Power factor is a routine design and operational concern in industrial plants, commercial buildings, data centres, and anywhere induction motors, transformers, ballasts, or other inductive equipment dominate the load. It affects cable sizing, transformer loading, protection settings, voltage regulation, and utility billing.

Governing Formulas

The three power quantities and the phase angle are related by the power triangle:

S² = P² + Q²     PF = P / S = cos φ

where P is real power in kW, Q is reactive power in kVAR, S is apparent power in kVA, and φ is the phase angle. Reactive power follows directly from the triangle:

Q = P × tan φ = P × tan(arccos PF)

When voltage, current, and real power are known instead, apparent power is calculated as S = V × I for single-phase systems (or √3 × V × I for three-phase), and the power factor is then P / S.

Derivation

For a sinusoidal supply, v(t) = Vm sin(ωt) and i(t) = Im sin(ωt − φ), where φ is the phase by which the current lags the voltage for an inductive load. The instantaneous power product contains a constant term and a double-frequency term. Averaging over a cycle leaves the real power P = Vrms Irms cos φ, while the amplitude of the oscillating component is the reactive power Q = Vrms Irms sin φ. The product of rms voltage and rms current, without any phase factor, is the apparent power S = Vrms Irms. The ratio P / S is therefore cos φ, and the three quantities form a right triangle with S as the hypotenuse.

Input Parameters

  • Real power P (kW): The power that produces useful work — mechanical output, heat, light, or computation. Measured with a wattmeter or read from a power analyser.
  • Apparent power S (kVA): The product of rms voltage and rms current, representing the total current-carrying demand placed on cables and transformers regardless of phase. Always greater than or equal to P.
  • Voltage V and current I: RMS line values. For three-phase circuits, the line-to-line voltage and line current must be combined with the √3 factor to obtain S.
  • Phase angle φ: The angle by which the current lags (inductive, positive Q) or leads (capacitive, negative Q) the voltage.

Engineering Interpretation

A low power factor means the same real power requires a larger current, which increases I²R losses in cables and transformers, produces larger voltage drops, and consumes capacity in switchgear and generators that could otherwise serve useful load. Utilities typically require industrial customers to maintain power factor above roughly 0.90 to 0.95 and apply reactive power charges or penalties below that threshold. Power factor is not the same as efficiency: efficiency compares output power to input power, whereas power factor compares real power to apparent power in the same circuit. Correcting power factor does not reduce the real energy consumed by the load, but it reduces the current required to deliver it.

Units and Conversion

  • 1 kW = 1,000 W, 1 kVA = 1,000 VA, 1 kVAR = 1,000 VAR
  • PF = cos φ, so φ = arccos(PF)
  • Leading PF (capacitive) and lagging PF (inductive) have the same magnitude but opposite sign convention for Q
  • Three-phase apparent power: S = √3 × VLL × IL

Alternative and General Cases

The formulas above assume sinusoidal voltage and current. In modern installations with switched-mode power supplies, variable-frequency drives, LED lighting, and other non-linear loads, current waveforms are distorted and the concept of displacement power factor (cos φ) is no longer sufficient. The true power factor in that case is the ratio of real power to apparent power including harmonic content, sometimes called total power factor, and it is always lower than the displacement power factor. Harmonic filters, not capacitors alone, are required for correction in such systems. Three-phase unbalanced loads and systems with significant waveform distortion require a power quality analyser rather than a single-point calculation.

Assumptions and Limitations

  • Sinusoidal voltage and current at a single fundamental frequency.
  • Balanced three-phase system when the √3 relationship is used.
  • Steady-state operating conditions; no transient or starting analysis.
  • Linear loads; harmonics and waveform distortion are not modelled.
  • Values are assumed to be measured with calibrated instrumentation.
  • The result does not constitute a power quality or protection study.

Practical Engineering Use

Power factor calculations are used when sizing cables, transformers, and generators; when evaluating utility bills and reactive power charges; when designing capacitor banks or active filters for power factor correction; and when assessing whether an existing installation can accept additional load. They also appear in motor selection, where the power factor at part load is often much lower than at rated load, and in generator sizing, where the alternator must supply the required kVA rather than just the kW. The value returned by this calculator is an input to those broader studies and should be confirmed with measured data on the actual installation.

Real-World Engineering Cases

Texas Industrial Plant Power Factor Penalties (2019)

A large manufacturing facility in Houston received monthly utility penalties averaging $12,000 due to power factor consistently below 0.82. The plant operated over 200 induction motors with minimal power factor correction. After installing a 2,500 kVAR automatic capacitor bank, power factor improved to 0.97, eliminating penalties and reducing current by 18%.

Engineering Lesson

Low power factor has direct financial consequences. Regular power factor monitoring and automatic correction systems provide rapid ROI through penalty elimination, reduced I²R losses, and improved voltage regulation. Most industrial facilities should maintain PF above 0.95.

Hospital Generator Overload During Emergency (2017)

During a power outage, a hospital's 1,500 kVA emergency generator tripped on overload after 20 minutes despite the connected load being only 1,200 kW. Investigation revealed the power factor had dropped to 0.72 due to numerous medical imaging equipment and HVAC motors starting simultaneously, causing apparent power to exceed generator capacity.

Engineering Lesson

Generator sizing must account for apparent power (kVA), not just real power (kW). Emergency systems require power factor analysis under worst-case starting conditions. Install power factor correction capacitors on the emergency bus to ensure generators can supply the required kVA without overload.

Frequently Asked Questions

What is power factor?

Power factor (PF) is the ratio of real power (kW) to apparent power (kVA) in an AC electrical system. It represents how effectively electrical power is being used. A power factor of 1.0 indicates all power is being used effectively, while lower values indicate reactive power losses.

How do I calculate power factor?

Power factor = Real Power (kW) / Apparent Power (kVA). Alternatively, PF = cos(φ), where φ is the phase angle between voltage and current. For example, if a load consumes 80 kW with 100 kVA apparent power, PF = 80/100 = 0.8.

What is the difference between kW, kVAR, and kVA?

kW (kilowatts) is real power that performs useful work. kVAR (kilovolt-amperes reactive) is reactive power that sustains electromagnetic fields. kVA (kilovolt-amperes) is apparent power, the vector sum of kW and kVAR. The relationship is: kVA² = kW² + kVAR².

Why is power factor correction important?

Low power factor increases current flow, causing higher I²R losses, larger voltage drops, and oversized equipment. Utilities often charge penalties for PF below 0.95. Power factor correction using capacitor banks reduces current, improves efficiency, and avoids penalties.

Engineering calculations provided by this tool are for educational and preliminary design purposes. Always verify calculations with actual power quality measurements, account for harmonic distortion in non-linear loads, consider 3-phase unbalance effects, and comply with applicable standards (IEEE 1547, IEC 61000) before finalizing power factor correction system design.