Pro Calculators and Guides

How to Read a LAS Well Log File: Sections, Nulls and Curve Tracks

A guide to LAS 2.0 and 3.0 well log files, what each header section holds, how logs are plotted in tracks and a worked look at a sample sand interval.

Saizul Amin
Saizul Amin20 Nov 2026 · 4 min read
How to Read a LAS Well Log File: Sections, Nulls and Curve Tracks

How to Read a LAS Well Log File: Sections, Nulls and Curve Tracks

Wireline and logging-while-drilling data usually travel between companies as LAS files, the Log ASCII Standard set by the Canadian Well Logging Society. A LAS file is plain text, so you can open it in any editor, but a column of numbers is a poor way to see a sand body. Plotting the curves in tracks against depth turns the same numbers into a picture a geologist can read at a glance.

The sections

Every section starts with a tilde.

  • ~V, the version section, says whether the file is LAS 1.2, 2.0 or 3.0 and whether data lines are wrapped.
  • ~W, the well section, holds the start depth, stop depth, step and null value, then the company, well name, field and location.
  • ~C, the curve section, lists each curve with its mnemonic, unit and description, in the same order as the data columns.
  • ~P holds parameters such as mud weight or bit size, and ~O any free text.
  • ~A holds the data, one depth step per line in unwrapped files.

Header lines follow a fixed pattern: mnemonic, a dot, the unit, the value, a colon and the description. "STRT.M 1500.0 : START DEPTH" is the start depth in metres.

The null value

Logging tools do not always return a reading. Missing values are written as the null, almost always -999.25. Treating that number as a real density or porosity wrecks any average, so a viewer must turn it into a gap.

Tracks

The classic log layout puts depth down the side and groups curves into tracks. Track 1 holds gamma ray, SP and caliper, which separate shale from sand. Track 2 holds resistivity on a logarithmic scale, since it can vary a thousandfold. Track 3 holds porosity and density curves such as neutron porosity and bulk density.

Worked example: the sample well

The LAS Well Log Viewer and Plotter opens with a sample from the NW-7 TEST WELL of Northwind Oil in East Field. It runs from 1500.0 to 1510.0 m at a 0.5 m step, so there are 21 depth steps, with four curves after depth: GR, ILD, NPHI and RHOB.

Across the whole interval the gamma ray runs from 35 to 113 GAPI, mean 79. Deep resistivity runs from 4.5 to 84 ohm·m, mean 31.36, and is drawn on a log scale from 1 to 100 ohm·m. Neutron porosity runs from 0.19 to 0.34 and bulk density from 2.28 to 2.56 g/cm³, with a mean of 2.454.

Now look at the middle. From 1503.5 to 1507.0 m the gamma ray falls to between 35 and 43 GAPI, the resistivity climbs to between 63 and 84 ohm·m, the neutron porosity drops to 0.19 to 0.21 and the density to 2.28 to 2.31 g/cm³. Above and below, gamma ray sits at 95 to 113 GAPI and resistivity at 4.5 to 6.5 ohm·m. Low gamma ray says clean sand; high resistivity in that sand suggests hydrocarbons rather than salt water. That is the classic pattern the sample is built to show.

One density reading, at 1505.0 m, is -999.25. The Curves tab counts it as 1 null, shows RHOB with 20 values, and the density curve has a short gap there instead of a spike to −999.

Exporting

CSV gives one column per curve with units in the heading and blanks for nulls, ready for a spreadsheet or Python. LAS 2.0 writes a tidy unwrapped file with the original header items, which is handy when a wrapped file will not load into other software. The plot itself saves as SVG or PNG for a report, or prints to PDF.

Common mistakes

  • Averaging a curve without removing nulls. One -999.25 among twenty values pulls the mean far below anything real.
  • Plotting resistivity on a linear scale. The low values crowd into a line; use the log scale.
  • Assuming depth is in feet. Read the unit after STRT; the sample is in metres.
  • Mixing up the order of curves. The data columns follow the ~C list exactly.
  • Expecting core or test data from a LAS 3.0 file to plot. Only the log data sections are read.

A quick plot is a first look, not an interpretation; porosity and saturation work still needs calibrated tools and local knowledge of the formation.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages