The following applet calculates the Darcy friction factor, f, for flow in a pipe using the Colebrook equation. Enter the Reynolds number and the relative roughness (ε/D), then press Enter or click Calculate. Use plain numbers or scientific notation (for example 2.5e5 or 1e-4). The vertical line marks the Reynolds number, the red curve is the curve for your relative roughness, and the horizontal line carries the result across to the friction factor axis. The dashed black line marks the start of the fully rough zone (Re·(ε/D)·√f ≈ 200), to the right of which f depends only on ε/D.