Compare two screens by area, width and height — not by the diagonal they are sold on.
B has 34% more screen area
Different aspect ratios, so the diagonals are not comparable directly. By area — the honest comparison — B is 34% larger, 7.7 in wider and 0.2 in taller.
What this cannot tell you
Take this with you
Screen Size Comparison on RunTheTests — free browser-based device tools, no sign-up.