Calculator Inputs
Formula used
Fick's first law in one dimension relates diffusive flux to the concentration gradient:
- Flux:
J = -D\,\frac{dC}{dx} - Two-point gradient:
\frac{dC}{dx} \approx \frac{C_2 - C_1}{x_2 - x_1} - Molar flow rate:
\dot{N} = J\,A - Optional temperature model:
D = D_0\,e^{-E_a/(RT)}
Sign convention: a positive gradient (C increases with x) produces flux toward −x.
How to use this calculator
- Select the method: Two-point or Direct gradient.
- Pick units for concentration, distance, and area.
- If you use g/L or g/m³, enter the solute molar mass.
- Either enter D directly, or enable Arrhenius and fill D0, Ea, and temperature.
- Press Calculate to view flux and molar flow above the form.
- Use Download CSV or Download PDF for reports.
Example data table
| Scenario | D (m²/s) | C1 (mol/L) | C2 (mol/L) | x1 (m) | x2 (m) | Area (m²) | Flux J (mol/(m²·s)) | Molar flow (mol/s) |
|---|---|---|---|---|---|---|---|---|
| Salt diffusing in water | 1.0e-9 | 1.0 | 0.2 | 0 | 0.01 | 0.01 | 8.0e-8 | 8.0e-10 |
| Steeper gradient | 2.0e-9 | 0.5 | 0.0 | 0 | 0.002 | 0.005 | 5.0e-7 | 2.5e-9 |
These examples assume a linear gradient between the two points.