100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace
Programming

What Is Fortran?

An introduction to Fortran, the pioneering language built for numerical and scientific computing that still powers weather models and supercomputers today.

FoundationsBeginner8 min readJul 10, 2026
Analogies

What Is Fortran?

Fortran, short for FORmula TRANslation, is one of the oldest high-level programming languages still in active use. It was designed from the outset to translate mathematical formulas directly into efficient machine instructions, which is why it became the default choice for scientists and engineers who needed raw numerical performance rather than general-purpose application features. Today it powers weather prediction systems, computational fluid dynamics solvers, and structural engineering software.

🏏

Cricket analogy: Like the straight bat technique Rahul Dravid drilled into his game purely to survive fast bowling, Fortran was engineered for one job, crunching numbers efficiently, and it still does that job better than flashier all-rounder languages.

A Brief History and Purpose

Fortran was developed at IBM by a team led by John Backus and first released in 1957 for the IBM 704 mainframe. It went through major revisions over the decades, FORTRAN 66 and 77 standardized the language across vendors, while Fortran 90 introduced free-form source code, modules, and array operations. Later standards, Fortran 95, 2003, 2008, 2018, and 2023, added object-oriented programming, coarrays for parallelism, and interoperability with C.

🏏

Cricket analogy: Just as the LBW rule has been revised repeatedly since cricket's early days to keep the game fair and modern, Fortran's standards evolved from FORTRAN 66 through Fortran 2018 to stay relevant to modern hardware.

Why Fortran Still Matters

Despite being over sixty years old, Fortran remains embedded in critical scientific infrastructure. Numerical libraries such as LAPACK and BLAS, which underpin linear algebra in Python's NumPy and MATLAB, are written in Fortran. Weather and climate models used by agencies like NOAA and the European Centre for Medium-Range Weather Forecasts (ECMWF) still run on millions of lines of Fortran code, because the language's array semantics allow compilers to generate extremely fast, well-vectorized machine code.

🏏

Cricket analogy: Like how a batting technique built on solid fundamentals from the 1970s still holds up in T20 cricket today, LAPACK's decades-old Fortran routines still outperform many newer alternatives at raw linear algebra.

Fortran in Scientific Computing

Fortran's array syntax lets programmers express operations on entire arrays without explicit loops, for example writing C = A + B for whole matrices, and its strict aliasing rules mean the compiler can assume pointers do not overlap unless told otherwise. This gives Fortran compilers more freedom to auto-vectorize and parallelize code than equivalent C code, which is one reason it is still chosen for large-scale simulations in aerospace, nuclear physics, and genomics.

🏏

Cricket analogy: Like a fielding captain who knows exactly where each of his eleven players will stand without checking constantly, a Fortran compiler knows arrays will not overlap and can optimize aggressively without runtime checks.

Fun fact: much of the linear algebra underneath Python's NumPy, MATLAB, and R is still executed by BLAS and LAPACK, numerical libraries originally written in Fortran and still actively maintained today.

fortran
program hello_world
    implicit none
    print *, "Hello from Fortran!"
end program hello_world
  • Fortran (FORmula TRANslation) was created at IBM in 1957 by a team led by John Backus.
  • It was purpose-built for numerical and scientific computation, not general application development.
  • Major standards include FORTRAN 66, 77, and Fortran 90, 95, 2003, 2008, 2018, and 2023.
  • Fortran's array syntax and strict aliasing rules let compilers generate highly optimized, vectorized code.
  • Core numerical libraries like BLAS and LAPACK, used by NumPy and MATLAB, are written in Fortran.
  • Weather and climate models at agencies like NOAA and ECMWF still run on Fortran codebases.
  • Modern Fortran (post-1990) supports modules, pointers, and object-oriented features while retaining backward compatibility.

Practice what you learned

Was this page helpful?

Topics covered

#Programming#FortranStudyNotes#WhatIsFortran#Fortran#Brief#History#Purpose#StudyNotes#SkillVeris#ExamPrep