To compute interest expense on a note for an adjusting entry, the formula is (principal × annual rate × a fraction). The numerator and denominator of the fraction are:
1) Length of time note has been outstanding / 12 months
2) Total length of note / 12 months
3) Length of time until note matures / Total length of note
4) Length of time note has been outstanding / Total length of note