My wife is away, so I should be there Saturday night.
The accelerometer gives you the acceleration due to gravity (and other acceleration if it's moving) in three axes (x, y, z), right?
If your gauge is flat on the saw table and pushed square against the saw blade when you push the calibrate button, read the three accelerations and call them (calibX, calibY, calibZ).
Then put the saw blade at your desired angle. With the gauge flat against the blade push the measure button and read (measX, measY, measZ).
According to math, the cosine of the angle between these two vectors is their dot product divided by the product of their magnitudes, and the sine is the magnitude of their cross product divided by the product of their magnitudes. The tangent is the magnitude of cross product divided by the dot product.
#include <math.h>
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
double radians2Degrees = 180.0 * M_PI;
...
calibMagnitude = sqrt(calibX*calibX + calibY*calibY + calibZ*calibZ);
measMagnitude = sqrt(measX*measX + measY*measY + measZ*measZ);
magnitudeProduct = calibMagnitude*measMagnitude;
dotProduct = calibX*measX + calibY*measY + calibZ*measZ;
thetaDot = acos(dotProduct / magnitudeProduct); // in radians
Serial.print("dot product approach thinks angle is "); Serial.println(thetaDot * radians2Degrees);
// cross product is harder
crossX = calibY*measZ - calibZ*measY;
crossY = calibZ*measX - calibX*measZ;
crossZ = calibZ*measY - calibY*measX;
crossMagnitude = sqrt(crossX*crossX + crossY*crossY + crossZ*crossZ);
thetaCross = asin(crossMagnitude / magnitudeProduct); // in radians
Serial.print("cross product approach thinks angle is "); Serial.println(thetaCross * radians2Degrees);
thetaAtan = atan2(crossMagnitude, dotProduct);
Serial.print("atan2 approach thinks angle is "); Serial.println(thetaAtan * radians2Degrees);
Depending on how wide the angle you measure is, either the sine approach or the cosine approach will be more accurate. Since the angle between the blade and the table is between 45 degrees and 90, I think you want to use the cross product approach.
P.S. Hard to believe I actually knew this stuff once.