A one-off generator for building 4 x 4 magic squares with a custom target sum
Interactive generator
Generate a 4 x 4 square for any magic constant from 34 to 500. Hover a cell to inspect every valid line and the corner constraint.