How to calculate
Move the root by the signed distance on the chromatic scale, then apply the original chord formula to the new root.
Worked example
Use Original chord root C · Chord quality Major · Signed semitone change 2 · Accidental spelling Prefer sharps. The result is D.
Input and result notes
A positive shift goes up, and a negative shift goes down. The spelling choice controls the accidental of the new root.
University of Puget Sound music theory text