Different measurements, to a degree.
A 1/4" NPT Pipe/fitting has about a 5/16" passage; a 3/8" barb fitting, on the other hand, only has about 1/4".
NPT, hose, flares, and lines are all measured differently. Makes piecing things together a convoluted mess sometimes... :)