Brain vs. computer
From Matter to Thought
How does physical stuff become a thought, in a brain and in a computer?
This page climbs the ladder one rung at a time: the smallest switches, the signals, memory, and finally what a "thought" might be. At each rung it compares the two, and says how good the comparison really is.
Living cells, water, salts. About 86 billion neurons.[R1]
Silicon and metal. An H100 AI chip holds 80 billion transistors.[R4][R11]
Small grey tags like open the source. Boxes marked What this leaves out say where a demo simplifies.
Part 1
Building blocks: transistor vs. neuron
The transistor
A tiny on/off switch. Wire a few together and you get a rule (a gate); wire billions and you get a chip.
Read the details
- Basic unit: the transistor. A tiny switch controlled by electricity: on or off. A modern AI chip (Nvidia H100) contains 80 billion transistors.[R4][R11]
- Electricity: electrons move through metal wires. High voltage = 1, low voltage = 0 (a "bit").
- Logic gates: a few transistors wired together make a rule:
- AND: output is on only if both inputs are on
- OR: output is on if either input is on
- NOT: output is the opposite of the input
- Clock: the whole chip runs in lockstep to a central clock, taking billions of steps per second. NVIDIA lists the PCIe version of the H100 at up to 1.755 GHz (1,755 million steps per second).[R14]
- AI on top: an artificial neural network is software that imitates simplified neurons. Each "neuron" multiplies its inputs by learned numbers called weights, adds them up, and passes the result on. So AI is brain-inspired math running on logic gates.
The neuron
A living cell that collects thousands of inputs and decides whether to fire. Far more than a switch.
Read the details
- Basic unit: the neuron, a living cell. The adult human brain has about 86 billion neurons (86.1 ± 8.1 billion), plus a similar number of non-neuronal support cells (about 84.6 billion).[R1]
- Parts of a neuron:
- Dendrites: input branches that receive signals
- Cell body (soma): where inputs are combined
- Axon: the output cable
- Axon terminals: the endpoints that pass the signal to the next neuron
- Connections: roughly 10¹⁴–10¹⁵ synapses (100 trillion to 1 quadrillion).[R2]
- A neuron is not a logic gate. It combines thousands of inputs in complex ways. A 2021 study found that mimicking one realistic cortical neuron took an artificial deep network 5–8 layers deep.[R3]
Logic gate playground
See that "computing" bottoms out in simple on/off rules.
This demo needs JavaScript.
Neuron vs. artificial neuron, same inputs
See what the two share (inputs × strength, a threshold) and where they differ.
This demo needs JavaScript.
Part 2
Signals: electrical vs. chemical
Inside a neuron: electrical
Charged atoms push the voltage up or down. Cross the threshold and the neuron fires a full spike; otherwise nothing.
Read the details
- The "electricity" isn't electrons in a wire. It's charged atoms (ions), mainly sodium and potassium, flowing through tiny protein gates in the cell wall called ion channels.
- A resting neuron sits at about −70 millivolts (textbook value).
- Inputs push the voltage up or down. If it crosses a threshold (about −55 mV, textbook value), the neuron fires a spike (action potential).
- A spike is all-or-nothing: it either fires fully or not at all. Information is carried in when and how often spikes happen.
- Spikes travel down the axon at about 1–100 meters per second, and a neuron fires at most a few hundred times per second (textbook values).
Between neurons: mostly chemical
- Spike arrivesat the axon terminal
- Chemicals releasedneurotransmitters
- Cross the gapand bind to receptors
- Voltage nudgedglutamate ↑ toward firing, GABA ↓ away
The chemical step is slower but adjustable. That adjustable strength is where learning and memory live.
Read the details
- The synapse is the tiny gap between one neuron's axon terminal and the next neuron's dendrite.
- Step by step:
- A spike arrives at the axon terminal.
- The terminal releases chemical messengers called neurotransmitters.
- They cross the gap and bind to receptors on the next neuron.
- This opens ion channels and nudges the next neuron's voltage:
- Excitatory (e.g., glutamate) pushes it toward firing.
- Inhibitory (e.g., GABA) pushes it away from firing.
- The chemical step is slower but adjustable. A synapse's strength can change, and that adjustability is where learning and memory live.
- Electrical synapses (gap junctions) also exist. They're direct, fast, and less flexible, and they're the minority.
- Broadcast chemicals (neuromodulators like dopamine and serotonin) wash over whole regions and change how those regions behave, like a global settings change. Hormones act even more slowly, through the blood.
Synapse close-up
Electrical inside, chemical between, and learning = changing synapse strength.
This demo needs JavaScript.
Speed, scale and power
Read the details
- Electrical signals in circuit-board wiring travel at about half the speed of light, about 15 cm (6 inches) per nanosecond.[R12] That's more than a million times faster than the fastest nerve signal (~100 m/s).
- What travels that fast is the electrical wave, not the electrons themselves.[R12]
- Chip switches flip billions of times per second; a neuron fires at most a few hundred times per second.
- The brain makes up for its slowness with massive parallelism: billions of neurons, each working independently, with no central clock.
- But not all at once: firing is expensive, so only a small fraction of neurons is strongly active at any moment, possibly fewer than 1% in the cortex (an estimate).[R13]
- An H100 has 16,896 processing cores (CUDA cores), all marching to one clock.[R11]
- Power: the brain runs on about 20 watts (textbook value). One H100 is rated at 700 watts.[R4][R11]
Speed, scale and power
A slow but massively parallel, efficient brain vs. a fast, serial-leaning, power-hungry chip.
This demo needs JavaScript.
Part 3
Memory: where each one stores what it knows
- Computer: memory is stored separately from the processor (in RAM or on disk) and fetched by address. Recall is exact: the same address returns the same bits.
- AI models: what a model "knows" is stored in its weights. Concepts are stored as overlapping patterns of numbers, so related ideas activate each other.
- Memory is stored in the strengths of synapses, in the same place where processing happens.
- Learning = strengthening or weakening synapses.
- Recall = reactivating a pattern of neurons. A partial cue (a smell, a shade of blue) can reactivate part of a stored pattern, and the network fills in the rest.
- Memories are rebuilt each time they're recalled, not played back like a file. That's why they drift and why false memories happen.
Two kinds of memory
Exact address lookup vs. reconstructive pattern completion.
This demo needs JavaScript.
Part 4
What is a "thought"?
There is no agreed scientific definition. This page uses a working definition:
Millions of neurons firing in a particular pattern.
A pattern of numbers moving through the network, called an activation vector.
Part 5 · The centerpiece
The model: from matter to thought
Ten rungs, from atoms at the bottom to thought at the top. Tap a rung to compare the two sides and see how good the analogy is.
The ladder
Hold the whole model in mind at once, and know where the analogy holds and where it breaks.
This demo needs JavaScript. The same content is in the table below.
Analogy strength: Good Moderate Loose Weak
The ladder as a table
| # | Stage | Brain | Computer / AI | How good is the analogy? |
|---|---|---|---|---|
| 1 | Matter | Living cells, water, salts | Silicon, metal | — (just different materials) |
| 2 | What carries charge | Ions (sodium, potassium) crossing cell walls | Electrons in wires | Moderate: both are moving charge, by very different mechanisms |
| 3 | Smallest switch | Ion channel (protein gate) | Transistor | Good: both are gates that open or close based on voltage |
| 4 | Basic signal | Spike: all-or-nothing, meaning carried in timing and rate | Bit: 0 or 1 | Loose: spikes carry information in timing; bits in fixed levels |
| 5 | Processing unit | Neuron, which combines thousands of inputs | Logic gate; in AI, a software "neuron" built from many gates | Weak: one real neuron ≈ a 5–8 layer artificial network [R3] |
| 6 | Connection | Synapse: chemical, adjustable strength | Fixed wire on a chip; adjustable weight in AI | Good for AI weights, poor for chip wires |
| 7 | Memory | Synapse strengths, in the same place as processing | Separate RAM/disk; weights in AI | Loose |
| 8 | Circuit | A group of neurons doing one job (e.g., detecting an edge) | Circuits like adders; in AI, layers that detect features | Loose |
| 9 | System | Brain regions working together | Chip + software → model | Loose |
| 10 | Thought | A pattern of firing across neurons | A pattern of numbers (activation vector) | Loose: same idea of "a pattern that represents something"; whether it's experienced is unknown |
"A neuron is like a terminal" is wrong. In the brain, a terminal is just the end of an axon, the neuron's output point.
The closest pairings are:
- ion channel ↔ transistor
- synapse ↔ AI weight
- neuron ↔ a small processor, or a mini neural network of its own
Key differences at a glance
| Brain | Computer / AI | |
|---|---|---|
| Signal speed | ~1–100 m/s | ~Half light speed in board wiring (~15 cm/ns) [R12] |
| Switching rate | Up to a few hundred spikes/sec per neuron | Billions of steps/sec (up to 1.755 GHz on an H100 PCIe) [R14] |
| Parallelism | ~86 billion independent neurons [R1], but only a small fraction (possibly <1%) strongly active at once [R13] | 16,896 cores on an H100, in lockstep [R11] |
| Timing | No central clock | Central clock, lockstep |
| Power | ~20 W | ~700 W per H100 [R4][R11] |
| Memory location | Same place as processing (synapses) | Separate from processing |
| Learning | Rewires constantly | Most current AI is fixed after training |
Part 6
Mapping the brain
A connectome is a complete wiring diagram: every neuron, every branch, every synapse.
How it's made: the H01 project (Harvard + Google)
- Tissueremoved in epilepsy surgery, preserved, stained
- Slice~5,300 slices, each 30 nm thick
- Image4 nm electron microscope, ~225 million images
- TraceAI follows every cell in 3D, finds synapses
- Proofreadpeople fix the errors
Steps from Google Research's H01 write-up.[R5]
Read the details
How it's made (H01, Harvard + Google):[R5]
- A small piece of human brain tissue, removed during epilepsy surgery, is preserved and stained.
- It's cut into about 5,300 slices, each 30 nanometers thick.
- Each slice is imaged at 4-nanometer resolution with an electron microscope, about 225 million images in total.
- AI traces every cell through the stack of slices in 3D, and finds the synapses.
- People proofread the errors.
Result: about 57,000 cells and 150 million synapses in one cubic millimeter,[R6] stored as 1.4 petabytes of images. That's about one-millionth of a human brain's volume.[R5]
Slice-through
Feel why mapping is hard (scale, data, proofreading) and why a map alone isn't a simulation.
This demo needs JavaScript.
The complete central nervous system of a male fruit fly, brain plus nerve cord, with about 166,700 neurons. It was published in Cell on 3 September 2026 by Janelia, Cambridge, the MRC Laboratory of Molecular Biology, and Google.[R10]
A whole mouse connectome is considered a 10–15 year goal, and the most expensive step is still human proofreading.[R9]
Part 7
Self-check
Two quick ways to lock it in. Your progress is saved on this device only.
Match and quiz
Retain the model: the right pairings, and why.
This demo needs JavaScript.
What this page simplifies
- Neuron as a "summing unit" is simplified. Real neurons compute much more (about a 5–8 layer network).[R3]
- Synapse ↔ AI weight is a functional analogy, not a physical one.
- Ion channel ↔ transistor: both are voltage-controlled gates, but by different mechanisms (proteins and ions vs. semiconductors and electrons).
- "Thought" definition is a working definition, not a settled scientific one.
- Textbook values (−70 mV rest, about −55 mV threshold, 1–100 m/s, a few hundred spikes/sec, about 20 W) are typical figures. Real values vary by neuron type.
- Chip signal speed (about half light speed) is for circuit-board wiring. It's the electrical wave that moves that fast, not the electrons.[R12]
- Sparse firing (<1%) is an energy-budget estimate for the cortex, not a measurement.[R13]
- Memory demo (M6) is a toy illustration of pattern completion, not a model of how real brain circuits store memories.
Sources
- R1Azevedo et al. (2009). Equal numbers of neuronal and nonneuronal cells make the human brain an isometrically scaled-up primate brain. J. Comp. Neurol. 513:532–541. doi.org/10.1002/cne.21974
- R2Carlsmith, J. (2020). How Much Computational Power Does It Take to Match the Human Brain? Open Philanthropy. openphilanthropy.org
- R3Beniaguev, Segev & London (2021). Single cortical neurons as deep artificial neural networks. Neuron 109(17). doi.org/10.1016/j.neuron.2021.07.002
- R4Tom's Hardware. Nvidia Hopper H100 SXM5 pictured (80B transistors, 700 W). tomshardware.com
- R5Google Research (2021). A Browsable Petascale Reconstruction of the Human Cortex (H01). research.google
- R6ScienceAlert. Amazingly detailed images reveal a single cubic millimeter of human brain in 3D. sciencealert.com
- R7White et al. (1986). The Structure of the Nervous System of the Nematode C. elegans (summary via OpenWorm). openworm.org
- R8Asterisk Magazine. We Can, Must, and Will Simulate Nematode Brains. asteriskmag.com
- R9Wellcome. Scaling up connectomics. wellcome.org
- R10Berg, S. et al. (2026). Sexual dimorphism in the complete Drosophila male central nervous system connectome. Cell 189(18):5504–5526. Published 3 Sept 2026. doi.org/10.1016/j.cell.2026.08.015 (press release)
- R11NVIDIA Technical Blog. NVIDIA Hopper Architecture In-Depth (H100 SXM5: 80 billion transistors, 16,896 FP32 CUDA cores, 700 W TDP). developer.nvidia.com
- R12Siemens EDA blog (2010). Fundamentals of SI (Part 2): Transmission lines (signals travel ~6 inches/ns on a circuit board, about half light speed). blogs.sw.siemens.com
- R13Lennie, P. (2003). The cost of cortical computation. Current Biology 13(6):493–497. doi.org/10.1016/s0960-9822(03)00135-0
- R14NVIDIA. H100 PCIe GPU Product Brief, PB-11133-001_v02 (30 Nov 2022): base 1,125 MHz, boost 1,755 MHz. Third-party-hosted copy. openzeka.com (PDF)
Textbook values (resting potential, threshold, conduction speed, firing rate, brain power ≈ 20 W) are standard neuroscience figures with no single linked source here.