.F90

F90 File

Fortran 90 Source File
Ask a question
QUICK ANSWER

A .f90 file is Fortran source code written in free-form layout, used in scientific and HPC software. To read it, open it in any text editor or VS Code with the Modern Fortran extension. To run it, you must compile it first with GFortran or Intel Fortran (ifx) -- the file itself does not execute.

Developer: ISO/IEC (standard); multiple compiler vendors Category: Developer Files Open standard MIME: text/plain
OPENS ON Windows macOS Linux
Related: .DO · .MD · .HEX · .XSD

On this page

19k+ extensions indexed
Last reviewed Aug 19, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the F90 file format?

A .f90 file contains Fortran source code written in free-form layout - the defining characteristic introduced by the Fortran 90 standard (ISO/IEC 1539:1991). Unlike the older fixed-form .f files, which required code to begin in specific columns inherited from punched-card conventions, free-form .f90 source allows statements anywhere on a line up to 132 characters wide.

Despite the name, the .f90 extension signals layout only - not the language revision. Modern compilers, including gfortran and Intel's ifx from the oneAPI HPC Toolkit, accept Fortran 2023 syntax in .f90 files without any issues.

Fortran remains dominant in high-performance scientific computing. Major weather and climate models, computational fluid dynamics solvers, and finite-element frameworks are written in Fortran and distributed as .f90 source files. The language standard has evolved through Fortran 95, 2003, 2008, 2018, and 2023, each adding object-oriented, parallel, and interoperability features.

A .f90 file is plain ASCII or UTF-8 text with no binary header. Source units - MODULE, PROGRAM, SUBROUTINE, and FUNCTION - form the top-level building blocks. Continuation lines use & at the end of a line, and ! begins a comment to end of line. Compilers produce object files that are linked into executables or shared libraries.

Security & safety

RISK: LOW

Source code text file; cannot execute on its own. Risk only if compiled and run. Downloaded .f90 files from untrusted sources should be reviewed before compiling - Fortran code can perform arbitrary system calls.

Format details

in a nutshell
FULL NAMEFortran 90 Source Fileaka Fortran source, F90 source file
DEVELOPERISO/IEC (standard); multiple compiler vendorssince 1991 (Fortran 90 standard ISO/IEC 1539:1991)
MIME TYPEtext/plain
TYPEplain text source code
STANDARDOpen · royalty-free

Programs that open F90 files

Windows5 apps
Microsoft Visual Studio Freemium Requires Intel Fortran or PGI plugin; VS itself has no native Fortran support.
PSPad Free Open with File → Open; supports Fortran syntax highlighting.
Intel Fortran Compiler (ifx) - oneAPI HPC Toolkit Free ifx source.f90 -o output.exe - compile from command line.
GFortran (MinGW-w64 / MSYS2) Open-source gfortran source.f90 -o output.exe - standard GNU Fortran compiler.
Visual Studio Code Free Open .f90 file; install 'Modern Fortran' extension for syntax highlighting and linting.
macOS2 apps
TextMate Open-source Open .f90 file; TextMate supports Fortran syntax bundle.
GFortran Open-source Install via Homebrew: brew install gcc; then gfortran source.f90 -o output.
Linux2 apps
GFortran Open-source sudo apt install gfortran (Debian/Ubuntu); gfortran source.f90 -o output.
Intel Fortran Compiler (ifx) - oneAPI HPC Toolkit Free source /opt/intel/oneapi/setvars.sh; ifx source.f90 -o output.

Technical details

deep spec
Source layoutFree-form; statements may start at any column, up to 132 characters per line
Character encodingASCII or UTF-8 (character set is processor-defined per the standard)
MIME typetext/x-fortran (also text/plain)
Top-level source units`PROGRAM`, `MODULE`, `SUBROUTINE`, `FUNCTION`, `BLOCK DATA`
Continuation syntax`&` at end of line continues to the next line (free-form style)
Comment syntax`!` introduces a comment to end of line
Compiled outputObject files (`.o` / `.obj`), linked into executables or `.a` / `.lib` libraries
Primary use domainScientific HPC: weather/climate modelling, computational fluid dynamics, finite-element analysis
Compiler examples`gfortran` (GCC), Intel `ifx` (oneAPI HPC Toolkit), Cray `ftn`, NAG Fortran
Standard compatibility`.f90` extension accepted for all Fortran revisions: 90, 95, 2003, 2008, 2018, 2023
Module interface filesCompiled `MODULE` units produce `.mod` files consumed by `USE` statements in other files
Preprocessor supportMany compilers accept C-style directives (`#ifdef`, `#define`) in `.f90` files
Extension distinction`.f90` signals free-form layout only; `.f` / `.for` signal fixed-form (Fortran 77 style)
Released1991 (Fortran 90 standard ISO/IEC 1539:1991)
Latest versionFortran 2023 (ISO/IEC 1539-1:2023); .f90 extension covers any free-form Fortran
Open standardYes · royalty-free
Specificationwg5-fortran.org

F90 conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with F90 files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about F90 files.

Frequently asked questions

How do I run a .f90 file?
You must compile it first: install GFortran (free, all platforms) and run 'gfortran file.f90 -o program', then execute './program' (Linux/macOS) or 'program.exe' (Windows).
What program opens .f90 files?
Any text editor can open and display .f90 files (VS Code with the Modern Fortran extension is recommended). To compile and run them, use GFortran or Intel ifx.
Is .f90 the same as .f or .for?
Same language, different source format. .f and .for use fixed-form layout (FORTRAN 77 style, 72-column limit), while .f90 uses free-form layout (up to 132 characters per line). Modern Fortran code should use .f90 or .f95/.f03 etc.
What happened to Intel Composer XE and Absoft Pro Fortran?
Intel Composer XE was discontinued around 2020 and replaced by the free Intel oneAPI HPC Toolkit. Absoft ceased operations in September 2022 - no new licenses or support available.
Can I open .f90 files on Windows?
Yes - install VS Code for editing, and GFortran (via MSYS2) or Intel oneAPI for compiling.

References

1GFortran - GNU Fortran Compilergcc.gnu.org
2Fortran Standards - WG5 (ISO/IEC JTC1/SC22/WG5)wg5-fortran.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.NOMEDIAAndroid No-Media Marker File
7.RPMSGRestricted Permission Message
8.BINCD/DVD Disc Image (BIN/CUE)
9.TMPTemporary File
10.XDWDocuWorks Document

Related extensions

.DOStata Do-File
.MDMarkdown Document
.HEXIntel HEX File
.XSDXML Schema Definition
.MAPSource Map (JavaScript / CSS)
.CONFIGConfiguration File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z