ForHosting KIT · Developer Utilities

Phase difference to path difference calculator

This phase difference to path difference calculator converts a signed phase offset in radians into the equivalent signed distance traveled by one wave relative to another.

● BetaFree · in your browser
Use it from WebAPIEmailTelegramApp soon

Enter the phase difference and a positive wavelength, using any length unit for the wavelength. The result uses that same unit. The calculation applies the standard relation ΔL = Δφλ/(2π), so a full 2π-radian cycle corresponds to one wavelength and a half-cycle corresponds to half a wavelength.

Relate angular phase to a physical distance

Phase describes position within a repeating wave cycle, while path difference describes how much farther one wave has traveled than another. The bridge between them is the wavelength. One complete cycle is 2π radians and spans exactly one wavelength, so the fraction Δφ/(2π) tells you how many cycles separate the waves. Multiplying that fraction by λ gives ΔL = Δφλ/(2π). For example, π/2 radians is one quarter of a cycle, which produces a path difference of one quarter wavelength. The calculator keeps this relationship explicit by returning the entered phase difference, the wavelength, the phase difference expressed in cycles, and the resulting path difference. It accepts signed phase values rather than silently reducing them modulo 2π. That choice preserves direction: a negative phase offset produces a negative path difference, while a positive offset produces a positive one. If your application cares only about magnitude, take the absolute value of the returned path difference after deciding that direction is irrelevant to your convention.

Choose wavelength units and interpret the sign

The wavelength may be entered in metres, nanometres, micrometres, millimetres, or another length unit, provided you understand that the output remains in exactly the same unit. Entering 632.8 as a wavelength measured in nanometres returns the path difference in nanometres; entering 6.328 × 10⁻⁷ in metres returns the equivalent distance in metres. No unit conversion is performed or guessed. This unit-preserving design avoids ambiguity and works equally well for visible light, infrared radiation, microwaves, or any coherent wave for which a wavelength is known. The wavelength must be positive because it represents a physical spatial period. Phase difference is signed because sign conventions differ between instruments and derivations. Before comparing the result with laboratory data, confirm which beam is subtracted from which and whether your instrument reports wrapped phase in a principal interval such as −π to π. A wrapped reading identifies an equivalent path difference within one wavelength but does not reveal an unknown whole-number multiple of the wavelength.

Apply the result to interference measurements

In interferometry, phase is often the directly observed quantity, while displacement, thickness, or optical path length is the quantity of interest. This calculator performs only the core phase-to-path conversion. It does not automatically account for a double-pass reflection, refractive index, incidence angle, or the geometry of a particular instrument. Those factors belong in the model that connects optical path difference to the physical dimension being measured. For a mirror displacement in a simple Michelson interferometer, for instance, moving the mirror changes the round-trip path, so the physical mirror motion can be half the optical path difference under the usual normal-incidence arrangement. Similarly, propagation through material involves optical path length nL, not merely geometric length L, and a phase measurement can combine thickness and refractive-index effects. Use the returned ΔL as the equivalent path difference at the supplied wavelength, then apply the appropriate experimental geometry separately. Keeping these steps distinct makes assumptions visible, reduces factor-of-two mistakes, and lets the same conversion serve many optical setups without pretending they share one geometry.

Interpret an interferometer phase reading

Convert a measured phase offset into optical path difference before applying the instrument's geometry or double-pass factor.

Check a phase-shifting simulation

Verify that a simulated phase delay corresponds to the intended fractional-wavelength path offset.

Relate coating phase to equivalent distance

Express a modeled reflection or transmission phase shift as an equivalent path length at the selected wavelength.

What formula converts phase difference to path difference?

Use ΔL = Δφλ/(2π), where Δφ is in radians and λ is the wavelength.

What unit does the path difference use?

It uses the same length unit as the wavelength. A wavelength entered in nanometres produces a path difference in nanometres.

Can the phase difference be negative?

Yes. The sign is preserved, allowing the result to represent the direction implied by your phase convention.

Does the calculator wrap phase into a 2π interval?

No. It uses the signed value exactly as entered, so phase differences larger than one cycle produce path differences larger than one wavelength.

Does this directly calculate mirror displacement?

Not always. It calculates equivalent path difference. A reflective double-pass arrangement commonly needs a separate factor of two to obtain mirror displacement.

What does an API calculation cost?

Each API request costs $0.002. The browser calculation is available without sending the values to a server.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/optics/phase-to-path-difference

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/optics/phase-to-path-difference \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"phase_difference":1.5707963267948966,"wavelength":6.328e-7}'
{
  "phase_difference": 1.5707963267948966,
  "wavelength": 6.328e-7
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "optics.phase_to_path_difference",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

max_abs_phase_radians1000000000000000
max_wavelength1000000000000000
HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Read the full KIT documentation →