Author(s) of this paper may load this reprint on their own web site or institutional repository provided that this cover page is retained. Republication of this article or its storage in electronic databases other than as specified above is not permitted without prior permission in writing from the IUCr.For further information see http://journals.iucr.org/services/authorrights.html Many research topics in condensed matter research, materials science and the life sciences make use of crystallographic methods to study crystalline and non-crystalline matter with neutrons, X-rays and electrons. Articles published in the Journal of Applied Crystallography focus on these methods and their use in identifying structural and diffusioncontrolled phase transformations, structure-property relationships, structural changes of defects, interfaces and surfaces, etc. Developments of instrumentation and crystallographic apparatus, theory and interpretation, numerical analysis and other related subjects are also covered. The journal is the primary place where crystallographic computer program information is published.Crystallography Journals Online is available from journals.iucr.org J. Appl. Cryst. (2014 NXFit is a program for obtaining optimized structural parameters from amorphous materials by simultaneously fitting X-ray and neutron pairdistribution functions. Partial correlation functions are generated in Q space, summed and Fourier transformed for comparison with the experimental data in r space. NXFit uses the Nelder-Mead method to vary a set of 'best guess' parameters to achieve a fit to experimentally derived data. The output parameters from NXFit are coordination number, atomic separation and disorder parameter for each atomic correlation used in the fitting process. The use of NXFit has been demonstrated by fitting both X-ray and neutron diffraction data from two quite different amorphous materials: a melt-quenched (Na 2 O) 0.5 (P 2 O 5 ) 0.5 glass and a (TiO 2 ) 0.18 (SiO 2 ) 0.82 sol-gel.