What Is a Feynman Diagram and How Does It Work?

A Feynman diagram is a pictorial shorthand for a calculation in quantum physics. Invented by Richard Feynman in the late 1940s, each diagram uses lines, vertices, and squiggles to represent the mathematical terms that describe how subatomic particles interact. What looks like a simple sketch of particles bouncing off each other is actually a bookkeeping device: every line and junction maps to a precise piece of a larger equation, and physicists use these diagrams to predict quantities like scattering probabilities and particle decay rates with extraordinary accuracy. Their visual simplicity hides a deep mathematical machinery that has shaped how physicists think about the subatomic world for more than seventy years.

What the Lines and Squiggles Mean

At first glance, a Feynman diagram looks like a doodle: straight lines, wavy lines, maybe some curly ones, all meeting at points. But each element has a specific meaning. Straight solid lines typically represent matter particles such as electrons or quarks. Wavy lines represent photons, the particles that carry the electromagnetic force. Curly or “loopy” lines represent gluons, the carriers of the strong nuclear force. Dashed lines, depending on the theory, can represent other particles like the Higgs boson. Every point where lines meet is called a vertex, and each vertex represents a moment of interaction: a particle emitting or absorbing another particle.

Time usually runs from left to right in a diagram, and space runs vertically, though conventions vary. An electron coming in from the left, emitting a photon at a vertex, and continuing to the right is one of the simplest possible diagrams. An arrow on a fermion line pointing forward in time indicates a particle; an arrow pointing backward indicates an antiparticle. This backward-in-time interpretation of antiparticles is not just a drawing trick. It connects to a deep feature of quantum field theory where charge conjugation acquires a geometric meaning, and the older idea that antiparticles arise from a “sea” of negative-energy states becomes unnecessary.1arXiv. On the quantum electrodynamics of moving bodies

Lines that stretch from the left edge to the right edge of a diagram represent external particles: the ones you actually detect in an experiment. Lines that start and end inside the diagram, connecting one vertex to another without reaching the edges, represent internal or “virtual” particles. These internal lines are where much of the conceptual and mathematical action happens.

From Sketch to Calculation

The real power of Feynman diagrams is that they are not just pictures. Each diagram translates into a mathematical expression through a precise set of rules, called Feynman rules, that depend on which theory you are working in. Every line contributes a factor called a propagator, which encodes how a particle moves from one point to another. Every vertex contributes a coupling constant, which measures how strongly the particles at that junction interact. Multiply all the factors together, integrate over certain variables, and you get a number that contributes to the probability of a given process occurring.

A single process, like two electrons scattering off each other, does not correspond to just one diagram. It corresponds to an infinite series of diagrams of increasing complexity. The simplest diagram, with the fewest vertices, gives the largest contribution. Diagrams with more vertices, more internal lines, and more loops give progressively smaller corrections. This approach is called perturbation theory: you start with the simplest approximation and systematically improve it by adding more complicated diagrams. The full sum of all these diagrams is called the Dyson series, and foundational work on the mathematical structure of quantum electrodynamics has shown that this series is asymptotic rather than convergent, meaning it provides increasingly accurate approximations up to a point but does not strictly sum to a finite value.2IOP Publishing (Journal of Physics: Conference Series). The Feynman-Dyson view

In practice, this is not a problem. For quantum electrodynamics, even a handful of diagrams gives predictions that agree with experiments to ten or more decimal places. The magnetic moment of the electron, one of the most precisely measured quantities in all of science, has been computed using Feynman diagrams that include up to tenth-order corrections, requiring the evaluation of thousands of individual diagrams.3American Physical Society (APS) / Physical Review D. Tenth-order electron anomalous magnetic moment: Contribution of diagrams without closed lepton loops That level of agreement between theory and measurement remains one of the great triumphs of modern physics.

Virtual Particles and What They Actually Represent

The internal lines of Feynman diagrams are often described in popular science as “virtual particles,” and this language has led to a lot of confusion. When you read that two electrons repel each other by “exchanging virtual photons,” it is natural to imagine tiny photons flying back and forth like invisible tennis balls. The reality is subtler. Virtual particles are mathematical contributions to a calculation. They do not satisfy the usual energy-momentum relationships that real particles do, and they cannot be individually observed or measured. The distinction between virtual and real particles is actually rooted in the diagrammatic method itself rather than in any directly observable physical characteristic.4PubMed Central. Are Virtual Particles Less Real?

This matters because people sometimes ask whether virtual particles “really exist.” Philosophers and physicists have debated this for decades. One perspective holds that virtual particles are purely computational artifacts with no independent physical reality. Another perspective points out that the effects they represent are clearly real: the Casimir effect, where two uncharged metal plates placed very close together experience a tiny attractive force, is often described in terms of virtual photons, and the effect has been measured in the lab. The deeper point is that the classification of particles into “real” and “virtual” comes from how we organize calculations, not from nature drawing a bright line between two kinds of things. If you changed your calculational method, the distinction might not even arise in the same way.

When Diagrams Produce Infinities

One of the most conceptually jarring features of Feynman diagrams is that many of them, when you actually do the math, produce infinite answers. Diagrams containing closed loops, where a virtual particle line forms a complete circuit, often yield integrals that diverge. Physically, this arises because the theory allows virtual particles to carry arbitrarily high energies, and summing over all those energies produces an infinity.

The technique physicists use to deal with this is called renormalization. The basic idea is to absorb the infinities into redefinitions of physical quantities like mass and charge. You start by introducing a temporary cutoff or regulator that makes the infinities finite, then show that all the infinite parts can be folded into a few measurable parameters. Once those parameters are fixed by experiment, the remaining predictions are finite and well-defined. The procedure works, and it works spectacularly well, but it requires care. Research on the divergence structure of quantum electrodynamics at higher orders has revealed that individual diagrams can contain gauge-violating divergent terms even after you include the standard counterterm corrections. These problematic terms only cancel when you sum over all the relevant diagrams at a given order, restoring the mathematical consistency of the theory.5arXiv. Consistency of Loop Regularization Method and Divergence Structure of QFTs Beyond One-Loop Order

This is why higher-order calculations are so difficult. You cannot just evaluate one diagram in isolation and trust the result. You have to evaluate all diagrams of a given complexity, including all counterterm insertions, and combine them before the physics becomes sensible. At two loops, you might have a handful of diagrams. At five loops, you could have thousands. At ten loops, the number becomes enormous, and the bookkeeping alone is a serious challenge.

How Computers Took Over Diagram Generation

By the 1970s and 1980s, the calculations demanded by particle physics had grown far too complex for pencil and paper. Drawing every possible Feynman diagram for a given process at a given order, assigning the correct mathematical expression to each one, and tracking all the symmetry factors is exactly the kind of task that computers excel at. Today, specialized software can automatically generate every Feynman diagram for an arbitrary process in an arbitrary theory at any perturbative order. One widely used approach derives the diagrams directly from the mathematical definition, naturally producing the symmetry factor for each diagram without requiring the programmer to hard-code special cases.6Computer Physics Communications. A simple algorithm for automatic Feynman diagram generation

The automation extends beyond just drawing diagrams. More recent tools can take a set of generated diagrams and automatically produce the full analytical expressions needed for computation, including at finite temperature, where the mathematical rules change because you are dealing with systems at nonzero temperature rather than in a vacuum. A Python-based implementation, for example, uses algorithms borrowed from graph theory to systematically generate the expressions for the thermodynamic potential associated with each diagram, along with its symmetry factor, at any desired perturbative order.7Physica Scripta. Automated symbolic generation of Feynman diagram contributions at finite temperature These tools have made it possible to push calculations to orders of perturbation theory that would have been unthinkable by hand, and they are essential infrastructure for modern particle physics phenomenology.

How Feynman Diagrams Spread Through Physics

The story of how Feynman diagrams became ubiquitous is itself interesting. When Feynman first introduced them at a conference in 1948, the reaction was mixed. Many senior physicists found the diagrams puzzling or suspicious, preferring the more traditional mathematical formalisms they had trained in. It was Freeman Dyson who played a crucial role in translating Feynman’s intuitive pictorial approach into a rigorous mathematical framework that other physicists could adopt and trust.

But the diagrams did not spread uniformly. Historians of science have documented how different physics communities adopted, adapted, and sometimes reshaped the diagrams to fit their own local practices and theoretical commitments. David Kaiser’s study of this process treats Feynman diagrams as a kind of “malleable paper tool” that was refracted through local environments and ultimately transformed as it traveled between research groups.8University of Chicago Press. Drawing Theories Apart The diagrams that a solid-state physicist draws to describe electron-phonon interactions do not look identical to the ones a particle physicist draws for quark-gluon scattering, even though both descend from the same original idea. The notation, conventions, and even the physical interpretation of the lines can differ depending on the field. This adaptability is part of what made the diagrams so successful: they could be customized for different physical theories while preserving the core logic of matching pictures to mathematical terms.

Feynman Diagrams in Gravitational Physics

Feynman diagrams were invented for quantum electrodynamics, but their reach extends well beyond electromagnetism. The same diagrammatic framework applies to the weak and strong nuclear forces, and it is the standard language of the Standard Model of particle physics. More surprisingly, Feynman diagrams have also become important tools for understanding gravity, including in regimes where you might not expect particle physics techniques to apply.

One striking development is the use of Feynman diagrams to compute classical gravitational scattering. When two massive objects, like black holes, fly past each other, their trajectories are deflected by gravity. At leading order, this deflection is described by Newtonian gravity. But general relativity predicts corrections, and calculating those corrections turns out to be naturally suited to Feynman diagram methods. Researchers have used two-loop Feynman diagram calculations to determine gravitational scattering amplitudes in the classical limit, pushing to the third order in Newton’s constant.9Journal of High Energy Physics. Classical gravitational scattering at O(G3) from Feynman diagrams These calculations are directly relevant to predicting the gravitational wave signals detected by observatories, where high-precision predictions of how compact objects spiral together and merge are essential.

An even more remarkable connection is the so-called “double copy” relationship between gauge theory and gravity. The idea, which has been conjectured to hold to all orders in perturbation theory, is that gravity amplitudes can be constructed by taking certain gauge theory amplitudes and essentially squaring their building blocks. As a concrete demonstration, the three-loop four-point amplitude of a particular supersymmetric gauge theory was arranged into a form that, by taking “double copies” of the diagram numerators, yielded the corresponding amplitude in supergravity.10PubMed. Perturbative quantum gravity as a double copy of gauge theory If this duality holds generally, it means that some of the hardest calculations in quantum gravity can be bootstrapped from much easier gauge theory calculations, with Feynman diagrams serving as the bridge between the two.

The Push Beyond Diagrams

For all their success, Feynman diagrams have limitations that become painfully obvious in certain calculations. The number of diagrams grows factorially with the perturbative order, and many of the individual diagrams are related by symmetries that the diagrammatic approach does not make manifest. In some cases, enormous cancellations occur when you sum over all diagrams: thousands of diagrams contribute large individual terms that nearly all cancel, leaving a compact final answer. This has led physicists to suspect that the diagrammatic expansion is, in a sense, doing things the hard way.

Several modern approaches try to bypass the diagram-by-diagram calculation entirely. On-shell methods compute scattering amplitudes using only physically observable, on-shell particles, sidestepping virtual particles and the redundancies they introduce. Recursion relations, pioneered in the mid-2000s, allow you to build complicated amplitudes from simpler ones without ever drawing a Feynman diagram. And the amplituhedron, a geometric object proposed in 2013, recasts scattering amplitudes as volumes of a mathematical shape in an abstract space. The deepest singularity structures of this geometric object, which probe the most complicated Feynman diagrams and processes, turn out to be associated with remarkably simple geometric facets.11PubMed. Deep Into the Amplituhedron: Amplitude Singularities at All Loops and Legs The promise is that what looks like an intractable combinatorial explosion in the language of Feynman diagrams might be a single, elegant geometric calculation in the right framework.

These alternatives have not replaced Feynman diagrams. For most practical calculations in particle physics, nuclear physics, and condensed matter physics, diagrams remain the standard tool. But the existence of these alternatives reveals something important: Feynman diagrams are one particular way of organizing the physics, not the only way. The underlying physical content does not depend on whether you compute it using diagrams, recursion relations, or geometry. The diagrams are a language, and like any language, they highlight certain features while obscuring others.

Common Misconceptions Worth Clearing Up

A few misunderstandings about Feynman diagrams come up repeatedly. The first is that the diagrams depict what “actually happens” during a particle interaction, like a photograph of the subatomic world. They do not. A single Feynman diagram is one term in a sum over all possible ways an interaction could proceed, and you need to sum all the diagrams before you get a physically meaningful answer. No individual diagram is “the” process; the process is the entire sum.

The second is that the positions of lines in a diagram correspond to positions in space. In the most common version of the formalism, they do not. The horizontal axis is loosely associated with time and the vertical axis with space, but the diagram is really a topological object: what matters is which lines connect to which vertices, not the angles or lengths of the lines. Two diagrams that look different on paper but have the same topology represent the same mathematical expression.

A third misconception, more subtle, is that the perturbative expansion using Feynman diagrams captures all the physics of a quantum field theory. It does not. Certain physical effects, called non-perturbative effects, cannot be seen at any finite order in the diagrammatic expansion. Instantons, for instance, contribute terms that are exponentially suppressed in the coupling constant and invisible to the perturbative series no matter how many diagrams you include. For theories like quantum chromodynamics at low energies, where the coupling constant is large, the entire diagrammatic approach breaks down, and physicists must turn to other methods like lattice simulations.

Despite these limitations, the diagrams remain one of the most successful calculational tools in the history of physics. They turned the abstract mathematics of quantum field theory into something visual, intuitive, and computable, and they continue to be the first tool most physicists reach for when confronting a new problem involving particle interactions. The fact that they have also found homes in condensed matter physics, statistical mechanics, and even gravitational wave science speaks to the versatility of Feynman’s original insight: that drawing a picture can be the same thing as doing a calculation.