The Piano Sonata in G major D. 894, Op. 78 by Franz Schubert is a sonata for solo piano, completed in October 1826. The work is sometimes called the "Fantasie", a title which the publisher Tobias Haslinger, rather than Schubert, gave to the first movement of the work. It was the last of Schubert's sonatas published during his lifetime, and was later described by Schumann as the "most perfect in form and conception" of any of Schubert's sonatas. A typical performance runs approximately 35 minutes.

Date of composition 1826
First published 1827, Tobias Haslinger in Vienna, Austria
Type Sonata
Tonality G Major
Catalogue D 894
Approx. duration 36 minutes
Instruments Piano
Autotranslations beta Franz Schubert: Sonate pour piano n°18 en sol majeur, D 894 "Fantasie"
Franz Schubert: Sonata per pianoforte n. 18 in sol maggiore, D 894 "Fantasie"
Franz Schubert: Sonate Nr. 18 für Klavier G-dur, D 894 "Fantasie"