MatboardCalc is a free calculator created by math-phobic photographer Ken Schuster.
MatboardCalc will give you the dimensions of your mat, board and frame, as well as where to cut the "window" opening in your mat. Try different combinations of image dimensions, border sizes, mat window openings and board / frame sizes and MatboardCalc will update the results automatically.
It works best with Microsoft Excel and LibreOffice Calc (free for Mac, Windows and Linux).
You can enter measurements in inches with fractions or decimals, or both, or use metric measurement.
It's only about 26 KB and downloads so quickly you might not realize it happened.
Please feel free to pass around MatboardCalc to everyone on the planet, but do not modify it and never charge for it.