A technique to measure the attenuation of an optical fiber by comparing the optical power transmitted through a fiber to the power transmitted by a short section of the same fiber.