The internal workings are not that different, as @James Allardic already answered. There is a difference though. Using parseFloat, a (trimmed) string starting with one or more numeric characters followed by alphanumeric characters can convert to a Number, with Number that will not succeed. As in:

parseFloat('3.23abc'); //=> 3.23
Number('3.23abc'); //=> NaN

In both conversions, the input string is trimmed, by the way:

parseFloat('  3.23abc '); //=> 3.23
Number('   3.23 '); //=> 3.23
Answer from KooiInc on Stack Overflow
🌐
W3Schools
w3schools.com › jsref › jsref_parsefloat.asp
W3Schools.com
The parseFloat() method parses a value as a string and returns the first number.
Discussions

When does parseFloat decide to round?
Welcome to the wonderful world of floating point numbers. More on reddit.com
🌐 r/javascript
13
1
October 21, 2014
Converting a string to a float in Javascript?
+"3.4" => 3.4 More on reddit.com
🌐 r/javascript
15
0
March 27, 2015
🌐
Doka
doka.guide › js › parsefloat
parseFloat() — JavaScript — Дока
July 8, 2024 - Преобразует строку в число с плавающей точкой.
🌐
Codecademy
codecademy.com › docs › javascript › number methods › .parsefloat()
JavaScript | Number Methods | .parseFloat() | Codecademy
May 31, 2024 - In JavaScript, the .parseFloat() method parses a given string and returns the first floating-point number found in the string. Parsing stops when it encounters a character that is not part of a valid number.
Top answer
1 of 5
67

The internal workings are not that different, as @James Allardic already answered. There is a difference though. Using parseFloat, a (trimmed) string starting with one or more numeric characters followed by alphanumeric characters can convert to a Number, with Number that will not succeed. As in:

parseFloat('3.23abc'); //=> 3.23
Number('3.23abc'); //=> NaN

In both conversions, the input string is trimmed, by the way:

parseFloat('  3.23abc '); //=> 3.23
Number('   3.23 '); //=> 3.23
2 of 5
33

No. Both will result in the internal ToNumber(string) function being called.

From ES5 section 15.7.1 (The Number Constructor Called as a Function):

When Number is called as a function rather than as a constructor, it performs a type conversion...

Returns a Number value (not a Number object) computed by ToNumber(value) if value was supplied, else returns +0.

From ES5 section 15.1.2.3 (parseFloat (string)):

... If neither trimmedString nor any prefix of trimmedString satisfies the syntax of a StrDecimalLiteral (see 9.3.1) ...

And 9.3.1 is the section titled "ToNumber Applied to the String Type", which is what the first quote is referring to when it says ToNumber(value).


Update (see comments)

By calling the Number constructor with the new operator, you will get an instance of the Number object, rather than a numeric literal. For example:

typeof new Number(10); //object
typeof Number(10); //number

This is defined in section 15.7.2 (The Number Constructor):

When Number is called as part of a new expression it is a constructor: it initialises the newly created object.

🌐
Oracle
docs.oracle.com › cd › B40099_02 › books › eScript › eScript_JSReference199.html
Bookshelf v8.0: parseFloat() Method
Siebel eScript Language Reference > Siebel eScript Commands > Conversion Methods > · This method converts an alphanumeric string to a floating-point decimal number
Find elsewhere
🌐
Purpleschool
purpleschool.ru › knowledge-base › javascript › numbers › parsefloat
parseFloat() – JavaScript Numbers – Числа в JS
1 week ago - Глобальная функция parseFloat() - это встроенная функция JavaScript, которая принимает строку в качестве аргумента и пытается преобразовать ее в число с плавающей точкой (float)....
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › how-to-parse-float-with-two-decimal-places-in-javascript
How to Parse Float with Two Decimal Places in JavaScript? - GeeksforGeeks
The parseFloat() method converts a string to a floating-point number. If the string isn't numeric, it returns NaN.
Published   July 23, 2025
🌐
JavaScript Учебник
learn.javascript.ru › учебник › язык javascript › типы данных
Числа
May 27, 2024 - Используйте parseInt/parseFloat для «мягкого» преобразования строки в число, данные функции по порядку считывают число из строки до тех пор пока не возникнет ошибка.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Global_Objects › Number › parseFloat
Number.parseFloat() - JavaScript | MDN
The Number.parseFloat() static method parses an argument and returns a floating point number. If a number cannot be parsed from the argument, it returns NaN.
🌐
Flexiple
flexiple.com › javascript › parsefloat-javascript
parseFloat JavaScript: Syntax and Examples - Flexiple
March 14, 2022 - Learn how to use the JavaScript parseFloat function to convert strings to floating-point numbers accurately. Examples and tips included.
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › javascript-number-parsefloat-method
JavaScript Number parseFloat() Method - GeeksforGeeks
July 11, 2025 - JavaScript parseFloat() Method is used to accept the string and convert it into a floating-point number. If the string does not contain a numeral value or If the first character of the string is not a Number then it returns NaN i.e, not a number.
🌐
Narod
helpsite.narod.ru › web › jsthelp › 51.htm
Функция parseFloat
Функция parseFloat анализирует строку-аргумент и возвращает число с плавающей точкой.
🌐
Wisdom-web
wisdom-web.info › JSd › glparsefloat.php
JavaScript Справочник - Метод parseFloat
С помощью метода parseFloat Вы можете преобразовать строку в число с плавающей точкой.
🌐
YouTube
youtube.com › steve griffith
How to Use parseInt and parseFloat - YouTube
This tutorial explains how you can use parseInt and parseFloat to extract numeric values from Strings, as well as, why you would want to do this. Sample Code...
Published   January 10, 2020
Views   3K
🌐
Edgecompute
js-compute-reference-docs.edgecompute.app › parsefloat()
parseFloat() | @fastly/js-compute
The parseFloat function converts its first argument to a string, parses that string as a decimal number literal, then returns a number or NaN.
🌐
Medium
medium.com › @maxheadway › the-differences-between-number-and-parsefloat-in-javascript-8ee74b961ed4
The differences between Number() and parseFloat() in Javascript | by Max Headway | Medium
February 19, 2023 - The parseFloat Function The parseFloat function is used to convert a string to a floating-point number. It parses the string argument and returns a floating-point number.
🌐
Vultr Docs
docs.vultr.com › javascript › global › parseFloat
JavaScript parseFloat() - Parse String to Float | Vultr Docs
November 6, 2024 - The parseFloat() function in JavaScript is a invaluable tool for transforming string data into float numbers, significantly aiding in calculations and data processing. It efficiently handles a variety of string formats including those with ...
🌐
GeeksforGeeks
geeksforgeeks.org › java › float-parsefloat-method-in-java-with-examples
Float parseFloat() method in Java with examples - GeeksforGeeks
July 11, 2025 - The parseFloat() method in Float Class is a built in method in Java that returns a new float initialized to the value represented by the specified String, as done by the valueOf method of class Float.