Neural Network Layers

Calculate Neural Network Layers instantly with the exact formula and a worked example.

Neural Network Layers

Input size
Hidden layers
Neurons per hidden layer
Outputs
Parameters, M
0.118282M
Calculate Neural Network Layers instantly with the exact formula and a worked example.
Parameters
118282
Weights in FP32
0.45MiB
Weights in FP16
0.23MiB

More about: Neural Network Layers

What it calculates

The “Neural Network Layers” calculator computes Parameters, M in M from 4 parameters: input size, hidden layers, neurons per hidden layer, outputs.

Standard IT calculations for developers and sysadmins.

Example calculation

With parameters Input size = 784, Hidden layers = 2, Neurons per hidden layer = 128, Outputs = 10 the result is 0.1183 M.

How to use

  1. Enter input size, hidden layers, neurons per hidden layer and outputs — each field above is adjustable with a slider.
  2. Parameters, M (M) is calculated automatically as you type.
  3. Check the worked example below to see the formula applied to real numbers.
  4. Copy the result or bookmark this calculator.

Related calculators

FAQ

How is Neural Network Layers calculated?
The Neural Network Layers calculator computes Parameters, M (in M) from input size, hidden layers, neurons per hidden layer, outputs. Enter your values above and the exact formula is applied instantly; a worked example with real numbers is shown below.
Is the Neural Network Layers calculator free?
Yes. It is completely free, needs no signup, runs entirely in your browser, and sends no data to any server.

More calculators in this category

Explore related free tools

IPv6 SubnetWildcard MaskBandwidth Mbps ↔ MB/sTCP Window SizeRound Trip Time (RTT)DNS TTLMTU / MSSWi-Fi Signal StrengthCSS px ↔ rem ↔ emAspect RatioViewport (vw/vh)CSS Grid