Gradient Descent Calculator
Free online gradient descent calculator. Enter your values and get instant results with the formula, step-by-step working, a worked example and FAQs — everything runs locally in your browser on Calcton, no signup required.
中文版:梯度下降模拟器
在凸二次函数 f(x,y) = a·x² + b·y² + c·xy 上模拟梯度下降:每步沿负梯度方向移动 (x, y) ← (x, y) − η·∇f,观察学习率 η 对收敛速度与稳定性的影响。对二次型,稳定收敛要求 0 < η < 2/λ_max。
试试 a = b = 1、c = 0 时 η = 0.9 与 η = 1.1 的对比:临界学习率 2/λ_max = 2,η 超过 1 时迭代在最优值两侧振荡,超过 2 直接发散。机器学习中 η 的选择同理——过小收敛慢、过大不稳定。
How to use the Gradient Descent Calculator
- Fill in the inputs with your own numbers — every field shows what it expects.
- The result updates instantly as you type; no "Calculate" click needed.
- Read the result card for the main figure, the step-by-step formula, and practical notes.
Frequently asked questions
Is the Gradient Descent Calculator free?
Yes — all math calculators on Calcton are free, with no sign-up required. Your inputs are processed in your browser and never sent to a server.
Is there a Chinese version of this tool?
Yes. Use the Chinese version link above — it is the same calculator with the interface in Simplified Chinese.
References
Formulas and benchmarks used by this calculator follow these published sources.
KevinContent LeadCalcton Editorial Team · Last updated 2026-09-12
Kevin maintains Calcton's formula verification and content: every calculator cites the standard it implements, worked examples are recomputed programmatically, and health benchmarks follow WHO and international guidelines.
Related calculators
More in this category: Math calculators
About math calculators
Free online math calculators for algebra, statistics, number theory and everyday arithmetic — from quadratic equations and matrices to percentages, fractions and prime factorization, each with step-by-step formulas.