Euler-Mascheroni Constant γ Calculator
γ = lim(Hₙ − ln n) ≈ 0.5772156649: H₁₀₀ = 5.187378 vs ln 100 + γ = 5.182386 — the gap closes like 1/(2n).
- Digits and bounds shown.
Figures are estimates from this calculator’s standard formula — adjust the inputs in the tool below for your exact number.
How the Euler-Mascheroni Constant Is Computed
The harmonic sum Hₙ grows like ln n, and the leftover gap converges to γ ≈ 0.5772156649015329. At n = 100: H₁₀₀ = 5.187378 while ln 100 = 4.605170, difference 0.582208 — already within 0.005 of γ, with the error decaying like 1/(2n). The calculator computes Hₙ and ln n for your n, shows their difference approaching 0.5772156649, and accelerates convergence with the expansion Hₙ ≈ ln n + γ + 1/(2n) − 1/(12n²), reaching 10-digit accuracy by n ≈ 10⁶. Unlike π or e, γ’s status is open: nobody knows whether it is irrational. The constant threads through number theory and analysis — Euler’s gamma function satisfies Γ′(1) = −γ, and the exponential integral carries ln x + γ. Known bounds (0.57 < γ < 0.58) and record digit counts (billions) are noted for context.
- 1
Enter n
The harmonic cutoff
- 2
Compute Hₙ
1 + ½ + … + 1/n summed (H₁₀₀ = 5.187378)
- 3
Subtract ln n
The difference approaches γ
- 4
Apply acceleration
The 1/(2n) − 1/(12n²) refinement tightens the estimate
Use Cases
Analysis Course
Demonstrate the Hₙ − ln n limit numerically
Number Theory
Explore γ in Γ′(1) and zeta-regularized sums
Algorithm Analysis
Harmonic sums model divide-and-conquer recurrences
Tips
- 1
γ ≈ 0.5772156649 sits between Hₙ and ln n + 1
- 2
Gap decays like 1/(2n): doubling n halves the error
- 3
Irrationality of γ remains unproven
Common Mistakes
Confusing γ with e ≈ 2.71828 or Γ(γ) notations
Expecting Hₙ − ln n to reach γ exactly at some n
Ignoring the slow 1/(2n) convergence and trusting few-digit estimates
Mixing γ with the golden ratio φ ≈ 1.618
FAQs
What is the Euler-Mascheroni constant?
How close is H₁₀₀ − ln 100?
Is γ rational?
Where does γ appear?
How fast does the gap shrink?
Related tools
Pick another tool to continue your calculation.
Jacobi Symbol Calculator – (a/n)
Calculate the Jacobi symbol (a/n).
2x2 Matrix Inverse Calculator with Steps
Calculate the inverse of a 2x2 matrix.
Matrix Determinant Calculator – 2×2 with Extras
Calculate 2×2 matrix determinant, eigenvalues, and trace.
2x2 Matrix Determinant Calculator
Calculate the determinant of a 2x2 matrix.
Matrix Calculator - Perform Matrix Operations Online
Perform matrix operations online with our free matrix calculator. Calculate matrix addition, multiplication, determinants, inverse, and more. Perfect for linear algebra students and professionals.
Matrix Transpose Calculator – Rows to Columns
Calculate matrix transpose.