I wrote some code to calculate an estimate for multisig transaction size based on Karimkorun's almost unreadable answer and based off the (incomplete) documentation here.
var pubkeySize = 33
var sigSize = 72
// An approximation based on the example in
var pubkeyScriptSize = 25
var m = 2, n ...