If you always use the ruler lines to measure you will be far more accurate. I think you have been measuring some with the ruler others with the mat if you look carefully you will see they give a very slight different measurements. Over a quilt this will add up to inches.
Mat to square with lines but cut using ruler.