The Piano Sonata in B major 575 by Franz Schubert is a sonata for solo piano, posthumously published as Op. 147 and given a dedication to Sigismond Thalberg by its publishers. Schubert composed the sonata in August 1817.
The work takes approximately 24 minutes to perform.
The sonata has four movements:
The first movement has a four-key exposition (B major, G major, E major, F major). Daniel Coren has noted that the first movement is the only such movement in Schubert's sonatas in which the recapitulation is an exact transposition of the exposition.