Sonic logging is a well logging tool that provides a formation’s interval transit time, designated as , which is a measure of a formation’s capacity to transmit seismic waves. Geologically, this capacity varies with lithology and rock textures, most notably decreasing with an increasing effective porosity. This means that a sonic log can be used to calculate the porosity of a formation if the seismic velocity of the rock matrix, , and pore fluid, , are known, which is very useful for hydrocarbon exploration.