Convert ISBN-10 to ISBN-13
- Remove the hyphens:
0-306-40615-2→030640615(drop the last check digit). - Put 978 in front:
978030640615. - Weight the 12 digits alternately 1 and 3 and add them: 9+21+8+0+3+0+6+12+0+18+1+15 = 93.
- The check digit tops the sum up to the next multiple of 10: 100 − 93 = 7 →
978-0-306-40615-7.
Paste a whole list above — each ISBN-10 is converted and hyphenated. The reverse works too, but only for ISBN-13s starting with 978; 979 numbers have no ISBN-10.