Viscosity measures a fluid’s internal resistance to flow, and the most common calculation formula is the dynamic viscosity from shear stress and shear rate: μ = τ / (du/dy), where τ is shear stress, du/dy is the velocity gradient. To use it, you enter the shear stress and shear rate values, and the calculator returns the dynamic viscosity in pascal-seconds (Pa·s).
Formula
Dynamic viscosity (μ) is defined by Newton’s law of viscosity:
μ = τ / (du/dy)
- μ – dynamic viscosity (Pa·s, or kg/(m·s))
- τ – shear stress (Pa, or N/m²)
- du/dy – shear rate, the velocity gradient perpendicular to flow (s⁻¹)
For a Newtonian fluid, the ratio is constant at a given temperature. For non-Newtonian fluids, the ratio changes with shear rate, so the formula gives an apparent viscosity at that specific shear rate.
Worked Example
Using the default values from the calculator: shear stress τ = 2.0 Pa, shear rate = 10 s⁻¹.
μ = 2.0 Pa / 10 s⁻¹ = 0.2 Pa·s
In centipoise (1 Pa·s = 1000 cP): 0.2 × 1000 = 200 cP.
The calculator shows 0.2000 Pa·s and 200.0 cP, matching the manual calculation.
Assumptions
- The fluid is Newtonian (constant viscosity independent of shear rate).
- Flow is laminar and steady.
- Shear stress and shear rate are measured at the same point in the fluid.
- Temperature is constant (viscosity changes significantly with temperature).
Background: What Viscosity Really Is
Viscosity arises from internal friction between fluid layers. When you stir a liquid, the layers slide past each other; resistance to that sliding is viscosity. In everyday terms, honey has high viscosity, water has low. The concept was formalized by Isaac Newton, who proposed that the shear stress between layers is proportional to the velocity gradient. That proportionality constant is the dynamic viscosity.
There are two common measures: dynamic (absolute) viscosity (μ) and kinematic viscosity (ν), which is dynamic viscosity divided by density (ν = μ/ρ). Kinematic viscosity is used in many engineering applications, especially with gravity-driven flow, and is expressed in m²/s or stokes (1 St = 1 cm²/s).
How to Measure Viscosity
In practice, you rarely calculate viscosity from first principles; you measure it with a viscometer. Common types include:
- Rotational viscometer – measures torque on a spindle rotating in the fluid; directly gives shear stress and shear rate.
- Capillary viscometer – measures the time for a fluid to flow through a narrow tube; uses the Hagen–Poiseuille equation.
- Falling ball viscometer – measures the terminal velocity of a ball falling through the fluid; uses Stokes’ law.
Each method yields a viscosity value based on the same underlying definition, but the shear rate may vary, which matters for non-Newtonian fluids.
How to Choose the Right Viscosity Formula
For a simple Newtonian fluid, the basic formula μ = τ/(du/dy) suffices. But if you are dealing with a non-Newtonian fluid, you need a model that describes how viscosity changes with shear rate. Common models include:
- Power law (Ostwald–de Waele): τ = K (du/dy)^n, where K is the consistency index and n the flow behavior index. Apparent viscosity = K (du/dy)^(n−1).
- Bingham plastic: τ = τ_y + μ_p (du/dy), where τ_y is yield stress and μ_p is plastic viscosity.
- Newtonian: the simplest, used for water, most oils, and gases.
If you are using a capillary viscometer, the Hagen–Poiseuille equation gives viscosity: μ = (π ΔP r⁴) / (8 Q L), where ΔP is pressure drop, r is tube radius, Q is volumetric flow rate, and L is tube length. For a falling ball, Stokes’ law gives μ = (2 g r² (ρ_ball − ρ_fluid)) / (9 v), where v is terminal velocity.
Common Mistakes and Misconceptions
A frequent error is mixing up dynamic and kinematic viscosity. For example, water at 20°C has a dynamic viscosity of about 1.002 mPa·s (1.002 cP) and a kinematic viscosity of about 1.004 mm²/s (1.004 cSt). The numbers are close because water’s density is near 1 g/cm³, but for other fluids they differ significantly.
Another mistake is ignoring temperature. Viscosity of liquids decreases sharply as temperature rises; a 10°C increase can halve the viscosity of many oils. Always record the temperature when measuring.
Some people think viscosity and density are the same. They are not. Density is mass per volume; viscosity is resistance to flow. A dense fluid can have low viscosity (e.g., mercury) and a light fluid can have high viscosity (e.g., some oils).
Practical Applications and Limits
Viscosity affects many real-world processes: pipeline design, lubrication, inkjet printing, food processing, and blood flow. In engineering, you often need to know viscosity to calculate pressure drop in pipes using the Darcy–Weisbach equation, which requires the Reynolds number, which in turn depends on viscosity.
The simple formula assumes a Newtonian fluid and uniform shear. In real systems, shear rate may vary across the flow, and many industrial fluids (paints, polymers, blood) are non-Newtonian. For those, the apparent viscosity at a given shear rate is still useful, but you must specify the shear rate and the model used.
Also note that viscosity is highly sensitive to pressure for some fluids (e.g., lubricants under high pressure), though for most liquids at moderate pressures the effect is small.
Frequently Asked Questions
What is the difference between dynamic and kinematic viscosity? Dynamic viscosity (μ) measures resistance to shear, in Pa·s. Kinematic viscosity (ν) is dynamic viscosity divided by density (ν = μ/ρ), in m²/s. Kinematic viscosity is often used in fluid mechanics because it appears in the Reynolds number.
How do I convert between Pa·s and cP? 1 Pa·s = 1000 centipoise (cP). So multiply by 1000 to get cP, or divide by 1000 to get Pa·s. For example, 0.2 Pa·s = 200 cP.
Can I use this formula for non-Newtonian fluids? The basic formula gives the apparent viscosity at a specific shear rate. For non-Newtonian fluids, the ratio τ/(du/dy) changes with shear rate, so you must specify the shear rate. For design, use a model like the power law.
What is the viscosity of water at room temperature? At 20°C, water has a dynamic viscosity of about 1.002 cP (0.001002 Pa·s). It decreases to about 0.798 cP at 30°C.
Why does viscosity change with temperature? In liquids, higher temperature increases molecular motion, reducing intermolecular forces and allowing layers to slide more easily, so viscosity decreases. In gases, higher temperature increases molecular collisions, which increases viscosity.
How does the calculator handle units? The calculator accepts shear stress in pascals and shear rate in reciprocal seconds, outputting dynamic viscosity in Pa·s and cP. Ensure your input values are in these units; convert if necessary (1 Pa = 1 N/m², 1 cP = 0.001 Pa·s).
Related
Formula used
in tau | Shear stress | Pa | 2.0 | 0 | 1000 in rate | Shear rate | 1/s | 10 | 0.0001 | 100000 out mu | Dynamic viscosity | Pa·s | tau / rate | 4 out mu_cP | Viscosity in centipoise | cP | (tau / rate) * 1000 | 1
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Measuring Volume of Gas Produced Practical0.00204 mol
- G to RPM Conversion Calculator3,347 RPM
- Gas Volume: Definition, Units, and How to Calculate It
- Gas Pressure and Volume: Boyle’s Law Explained1.000 atm
- pH of Phosphoric Acid: What It Is and Why It Matters
- Phosphoric Acid Formula: H₃PO₄ Explained0.2000 mol/L