Gradient Descent Calculator
Calculate gradient descent parameters, convergence rate, effective learning rate, and training time estimates.
Inputs
Results
Steps per Epoch
313
Total Steps
313,000
Effective Learning Rate
0.1
How to Use This Calculator
- Enter the learning rate (alpha), the number of training iterations, and the momentum coefficient.
- Set the batch size and dataset size to determine steps per epoch and total steps.
- Review the steps per epoch and total steps calculated for your training run.
- Check the effective learning rate (adjusted for momentum), convergence rate, and final learning rate after decay.
- Use the training time estimate and simulated loss decay chart to gauge how long training will take and how quickly loss decreases.
How the result changes with Batch Size
| Batch Size | Steps per Epoch | Total Steps | Effective Learning Rate |
|---|---|---|---|
| 1,001 | 10 | 10,000 | 0.1 |
| 3,501 | 3 | 3,000 | 0.1 |
| 6,500 | 2 | 2,000 | 0.1 |
| 9,000 | 2 | 2,000 | 0.1 |
What each input means
- Learning Rate
- Learning rate (step size)
- Number of Iterations
- Total training iterations
- Momentum
- Momentum coefficient
- Batch Size
- Samples per batch
- Dataset Size
- Total training samples
How this is calculated
Formula
θ_new = θ_old - α × ∇J(θ)Worked example, using the default values
- Identify Input Parameters4 parametersLearning Rate = 0.01, Number of Iterations = 1000, Momentum = 0.9, Batch Size = 32 = 5 input(s) provided
- Calculate Steps per EpochSteps per Epoch313 = 313
- Calculate Total StepsTotal Steps313000 = 313000
- Calculate Effective Learning RateEffective Learning Rate0.1 = 0.1
- Calculate Convergence RateConvergence Rate0 = 0
- Calculate Training TimeTraining Time1.67 = 1.67
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Backpropagation Calculator
Calculate backpropagation computational complexity, memory requirements, and operations for neural networks.
Machine Learning & AINeural Network Parameters Calculator
Calculate total parameters, weights, biases, and memory requirements for neural network architectures.
Machine Learning & AIOptimization Calculator
Calculate optimization convergence, computational cost, efficiency, and memory requirements for ML optimizers.
MLOps & AI CostingTraining Data Size Calculator
Estimate minimum dataset size needed for machine learning models based on features, complexity, and accuracy targets.
Flight PlanningEmergency Descent Calculator
Emergency descent time, distance, and time of useful consciousness for rapid decompression scenarios.
More in Technology & Computing.