Count the half and whole steps included in the interval
With your knowlegde about the natural semitones and the location of all the accidentials you can determine of how many half and whole steps the interval consists.
With your knowlegde about the natural semitones and the location of all the accidentials you can determine of how many half and whole steps the interval consists.