Advanced maths

Faddeeva function and normalized Voigt profile calculator

Evaluate the Faddeeva function in the upper half-plane or a normalized Voigt profile with explicit Gaussian and Lorentz width conventions.

Your numbers

Enter finite values within the stated bounds; coordinate rows may use commas.
Enter finite values within the stated bounds; coordinate rows may use commas.
Enter finite values within the stated bounds; coordinate rows may use commas.
Enter finite values within the stated bounds; coordinate rows may use commas.
Enter finite values within the stated bounds; coordinate rows may use commas.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Evaluate the Faddeeva function in the upper half-plane or a normalized Voigt profile with explicit Gaussian and Lorentz width conventions.

THE FORMULAw(z)=exp(−z²)erfc(−iz); V(x;σ,γ)=Re w((x+iγ)/(σ√2))/(σ√(2π)).

A worked example

At x=0,sigma=1,gamma=1, the normalized Voigt profile is approximately0.2087092805.

Good to know

Complex mode |Re z|≤8,0≤Im z≤8; Voigt mode sigma>0,gamma≥0 with the scaled argument in that same domain. RK4 refinement check; no arbitrary lower-half-plane continuation or line-profile fitting.

A complex function behind a real profile

The Faddeeva function combines a complex complementary error function with an exponential scaling. In the upper half-plane it provides a numerically useful representation of a Gaussian convolved with a Lorentzian. That real convolution is the normalized Voigt profile returned by the second mode.

The two modes answer related but different questions. Complex mode returns real and imaginary parts of w at the entered complex argument. Voigt mode first converts a physical offset and two width parameters into that argument, then applies the normalization needed for a density-like profile.

Area-normalized Voigt profileσ = 1, γ = 1V(0) ≈ 0.208709Area normalizationNot a fitted peak
Scroll across to see the full diagram.
The centered sigma=gamma=1 profile has height approximately0.20870928.

Compare this with the Complex log gamma calculator with a stated principal branch. Evaluate exp minus z squared times complex erfc and its Gaussian-Lorentz convolution profile; log gamma does not give this function.

Width conventions must be explicit

Sigma is the standard deviation of the Gaussian component. Gamma is the half width at half maximum of the Lorentzian component. Neither parameter is the full width at half maximum of the resulting Voigt curve, and substituting one width convention for another changes the function.

The offset x is measured relative to the profile center and uses the same unit as both widths. Dividing by sigma times square root of two produces the dimensionless real argument. Gamma supplies its nonnegative imaginary component; the scaled argument must remain inside the supported numerical domain.

The centered unit-width example

With zero offset and both widths equal to one, the complex argument is i divided by square root of two. The Faddeeva value is real there, approximately 0.5231565837. Dividing it by square root of two pi gives approximately 0.2087092805 for the normalized profile.

This center height is below the height of a unit-standard-deviation Gaussian alone because Lorentzian broadening spreads mass into heavier tails. The example uses area normalization, not peak-height normalization. Multiplying by a desired integrated amplitude is a separate modeling step that the page does not infer.

Continuation from a scaled real integral

At a purely imaginary argument, the Faddeeva value reduces to the scaled real complementary error function. The implementation obtains this starting value from a positive decaying integral, avoiding the unstable product of a huge exponential and a tiny complementary error function.

It then integrates the differential identity w prime equals minus two z w plus two i over square root of pi along the horizontal direction. Fourth-order Runge–Kutta steps provide the complex continuation. Symmetry supplies negative real arguments without separately integrating in an unstable or inconsistent direction.

Why the refinement gap is shown

The complex continuation is performed at two step sizes. Their difference is compared against the accepted tolerance and returned as a refinement diagnostic. A disagreement that exceeds the supported threshold prevents the calculator from presenting the value as a successful result.

This check assesses the implemented bounded path, not every possible complex argument. The lower half-plane can have very different growth, and large scaled imaginary arguments need different numerical treatments. Those cases are excluded rather than silently passed through a formula chosen for the upper half-plane.

Profile checks you can reproduce

At gamma equal to zero, the Voigt profile reduces to the ordinary Gaussian density with standard deviation sigma. The real profile is even in x. For complex Faddeeva evaluation in this domain, reversing the real argument preserves the real part and reverses the imaginary part.

These identities are useful checks of mode and sign conventions. A normalized profile integrates to one over the full real line, but this calculator does not integrate an arbitrary finite plotting range to estimate missing tail area. Lorentzian tails can make that finite-range area noticeably smaller than one.

What the calculator does not fit

A measured spectral line can include amplitude, baseline, instrument response and multiple overlapping components. Evaluating a Voigt profile does not estimate those parameters or identify a physical broadening mechanism. Entered widths remain assumptions, not measurements extracted from a supplied dataset.

Use the output as a special-function or profile-value calculation. For fitting, specify the observation-noise model, units and parameter constraints in an appropriate estimation tool. Preserve the sigma-versus-gamma definitions when transferring results, since many spectroscopy interfaces use different names for full widths or mixing approximations.

A few questions, answered

Is gamma the Gaussian width?

No. Sigma is Gaussian standard deviation; gamma is Lorentzian half width at half maximum.

Does Voigt mode fit my spectrum?

No. It evaluates a normalized profile at supplied parameters and does not estimate them from observations.

What if gamma is zero?

The profile reduces to the Gaussian density with the entered sigma.

Can I evaluate the lower half-plane?

Not here. Complex mode is restricted to the stated upper-half-plane domain.

Find your calculator

Start typing to explore the library.