<< Go back to all functions

LENB

The LENB function in Google Sheets returns the length of a string in bytes. Learn more about its application.

Function Syntax and Parameters

Syntax: LENB(string)

Parameters:

  • string: The string that you want to find the length of in bytes.

Step-by-Step Tutorial

  1. Calculate the length of a string in bytes using LENB:
    • Example: =LENB("Hello World")
    • Result: 11

Use Cases and Scenarios

  1. Check the length of a string in bytes.
  2. Determine the size of file names in bytes.
  3. Analyze the byte length of multibyte characters in different languages.

Related Functions

  • None

Related Articles

  • None